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

RomStruct should have dynamic fields schema #18

Open
mohamedelfiky opened this issue Mar 21, 2017 · 0 comments
Open

RomStruct should have dynamic fields schema #18

mohamedelfiky opened this issue Mar 21, 2017 · 0 comments

Comments

@mohamedelfiky
Copy link
Contributor

mohamedelfiky commented Mar 21, 2017

I working with ROM-mongo on a mongo DB that have dynamic fields on each collection, I defined a schema for the collection, but ROM struct raises an exception when trying to instantiate a new struct for document with a missing field. I think the mongo schema should be dynamic and accept missing fields.

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

No branches or pull requests

1 participant