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

allowedvalues ignored for APIObjectField if it's an enum type #123

Closed
ghost opened this issue Jul 14, 2015 · 1 comment
Closed

allowedvalues ignored for APIObjectField if it's an enum type #123

ghost opened this issue Jul 14, 2015 · 1 comment
Assignees
Milestone

Comments

@ghost
Copy link

@ghost ghost commented Jul 14, 2015

I have an enum that I have implemented a Converter for to use a getLabel() method for conversion rather than the standard name value. My allowedvalues values are ignored on APIObjectField and no matter what I do it simply shows the enum constants.

@fabiomaffioletti
Copy link
Owner

@fabiomaffioletti fabiomaffioletti commented Aug 3, 2015

I see. I think the best way to proceed is to use the allowedvalues property of the ApiObjectField annotation to override the enum values. I'll implement that.

Loading

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

Successfully merging a pull request may close this issue.

None yet
1 participant