Skip to content

feat: field parsing #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

feat: field parsing #39

wants to merge 5 commits into from

Conversation

GregoryAlbouy
Copy link
Member

Description

Changes

Linked issues

Notes

@GregoryAlbouy GregoryAlbouy changed the title Feat/field parsing feat: field parsing Sep 10, 2022
- create module benchttp/field
- define Key, FieldRepr in module field:
  - Key represents any step in a field path (the string value between
  two separators)
  - FieldRepr is the union of all valid field paths
- move field definitions from metrics to field
- implement parseField
Goal: validate a field based both on the on the validity of its keys
but also on parent-child relationships
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant