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

fix: support json_name with non-alphanumeric characters for all field types #521

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

boukeversteegh
Copy link
Collaborator

Use array[access] syntax for all field types with a json_name containing non-alphanumeric characters.

Sorry to bother you once more @stephenh 😅.

I missed a few instances where ${jsonName} was still used instead of the safe property accessor.
Double checked it now using IDE variable usage, so it should work everywhere now.

Copy link
Owner

@stephenh stephenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Np!

@boukeversteegh boukeversteegh merged commit 8d9e78e into main Feb 21, 2022
@boukeversteegh boukeversteegh deleted the fix/json-names-hyphens-special-fields branch February 21, 2022 15:31
stephenh pushed a commit that referenced this pull request Feb 21, 2022
## [1.106.1](v1.106.0...v1.106.1) (2022-02-21)

### Bug Fixes

* support json_name containing hyphen on all field types ([#521](#521)) ([8d9e78e](8d9e78e))
@stephenh
Copy link
Owner

🎉 This PR is included in version 1.106.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants