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

Structure configuration rather than Struct definition. #237

Open
Dragomir-Ivanov opened this issue Oct 21, 2018 · 3 comments
Open

Structure configuration rather than Struct definition. #237

Dragomir-Ivanov opened this issue Oct 21, 2018 · 3 comments

Comments

@Dragomir-Ivanov
Copy link

Dragomir-Ivanov commented Oct 21, 2018

Hi there,
I see that you first need to define the shape of the data via Go struct, but how about "dynamic" data. Say I have already defined my data model in another part of the application (say rest framework), then I want to reuse that definition and generate configuration for Storm to use, then Storm will populate map[string]interface{} instead of a predefined structure.
Edit: Forgot to mention that querying is needed as well. Basically using Storm as schema less DB, akin to MongoDB.
Thanks.

@asdine
Copy link
Owner

asdine commented Dec 22, 2018

Dynamic data can't be stored using Storm because Storm is kinda schemafull and is only compatible with structs right now. Future versions will be compatible though

@Dragomir-Ivanov
Copy link
Author

Thanks for the response. I think having that feature can be very useful.

@asdine
Copy link
Owner

asdine commented Dec 22, 2018

Totally, stay tuned 👍

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

2 participants