Skip to content
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

move values under "values" key #21

Merged
merged 1 commit into from
Jun 20, 2024
Merged

move values under "values" key #21

merged 1 commit into from
Jun 20, 2024

Conversation

stavros-k
Copy link
Contributor

Idea is to have all values coming from the user under one key.
This makes it easier to pass the whole context to a function for validation, normalization or other processing.

In addition makes it easier to "dump" the data while developing in order to see the contents.

This should allow later to pass extra keys without risking overriding any user values.
eg ix_app_context, etc.
To be fair, I don't expect this to be the case.

PS. Is this function going to be used in production too? If not, we should also adapt the production side as-well.

@stavros-k stavros-k requested a review from sonicaj June 5, 2024 13:19
@stavros-k stavros-k merged commit 2096026 into master Jun 20, 2024
2 checks passed
@stavros-k stavros-k deleted the values branch June 20, 2024 14:13
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.

2 participants