Skip to content

GPMONGODB-297: Support Mappings of Byte and Float #450

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

Closed
graemerocher opened this issue May 29, 2013 · 1 comment
Closed

GPMONGODB-297: Support Mappings of Byte and Float #450

graemerocher opened this issue May 29, 2013 · 1 comment

Comments

@graemerocher
Copy link
Contributor

Original Reporter: kuceram
Environment: Not Specified
Version: 1.2.0.GA
Migrated From: http://jira.grails.org/browse/GPMONGODB-297

It is not possible to get the mapping working properly for Byte and Float values of the domain class. It maps by default to mongo as a string instead of number. It is even not posible to write a custom Marshaller because it is not taken when the values are mapped or received from Mongo.

Similarly, the enums are mapped as strings. I would appreciate if it would be possible to store the value of enum, we use number id for each enum type.

@graemerocher
Copy link
Contributor Author

graemerocher said:

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

No branches or pull requests

1 participant