-
Notifications
You must be signed in to change notification settings - Fork 332
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
weird Enum pattern causes problems for clients #235
Comments
@jingping2015 - any thoughts on this? |
Hi , |
Thanks @jingping2015 . What about the |
facebook-github-bot
pushed a commit
that referenced
this issue
Sep 20, 2019
Summary: #235 Looks like we don't need `NULL` for enum class Reviewed By: joesus Differential Revision: D17242244 fbshipit-source-id: 33c2cc4c
facebook-github-bot
pushed a commit
to facebook/facebook-business-sdk-codegen
that referenced
this issue
Sep 20, 2019
Summary: facebook/facebook-java-business-sdk#235 Looks like we don't need `NULL` for enum class Reviewed By: joesus Differential Revision: D17242244 fbshipit-source-id: 33c2cc4c
jlavera
pushed a commit
to order-metrics/facebook-java-business-sdk
that referenced
this issue
Sep 29, 2020
Summary: facebook#235 Looks like we don't need `NULL` for enum class Reviewed By: joesus Differential Revision: D17242244 fbshipit-source-id: 33c2cc4c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wouldn't it make more sense for your Enum constants to look like this:
as opposed to this:
it's less code, simpler, and avoids problems like this for clients:
FasterXML/jackson-databind#2309
The text was updated successfully, but these errors were encountered: