-
Notifications
You must be signed in to change notification settings - Fork 376
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
JsType properties starting with dollar are not accepted #9554
Comments
@ is also not allowed. The MS Graph API uses @OData Json values |
While |
Thankyou for your explanation, that makes sense. |
The old implementation only allowed a capital letter as the first character of a bean-like property, which isn't sufficient. Instead, we need to support cases where the first character is *not* lower case, so that non-letters that are valid for the first character are permitted. Fixes gwtproject#9554
GWT version: 2.8.1
Browser (with version): N/A
Operating System: N/A
Description
GWT does not allow an @JsProperty accessor method if the property starts with '$'.
Steps to reproduce
Just try to compile:
Known workarounds
Must set @JsProperty name attribute to be accepted. E.g.:
Discussion
I understand this is not a priority issue, but I've just tested in the JVM using JavaBeans Introspector:
outputs:
The text was updated successfully, but these errors were encountered: