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

Defaults Locale when calling validation #2908

Merged
merged 1 commit into from Aug 2, 2022

Conversation

bbakerman
Copy link
Member

@bbakerman bbakerman commented Aug 1, 2022

If a caller explicitly sets the Locale to null (for whatever reason) we need to be able to default it so the validation I18n code works.

See #2907

The design question is - should we default this on ExecutionInput construction OR like I have done it here.

This fixes the bug - however defaulting it in EI construction is more systemic. It would mean that DataFetcherEnvs etc... would always get a Locale say.

@bbakerman bbakerman requested a review from dondonz August 1, 2022 21:31
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.

None yet

2 participants