「Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/」 How to achieve name contains decimal point #842
Unanswered
blueMountain007
asked this question in
Q&A
Replies: 1 comment
-
Hey @zhounewz – GraphQL does not allow periods in names, so this is never going to be possible within GraphQL directly. But, we could further "sanitize" field names, replacing dots with double underscores or similar. What do you think about that? If it were me, I'd completely avoid using dot notation in field names because that's going to make your data a PIA to work with. Consider the following: if you use camelcase, you can access your properties much more easily like Thoughts? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions