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
Move meta to be attached to the sources #11
Comments
|
So I think this means for the sake of convenience we want the JSON API Output
I think we can get away with the API serializing the relationship this way even if it isn't explicitly done this way in our data structure (though it can be inferred). This means our serializers can do some special work to look up the source through the child |
Need to:
|
The meta object that currently exists with the layergroup, and is used for populating the 'data' page in a frontend UI, is really just describing a source, not the layergroup.
I recommend we move this config out of the layergroups, and add them to the source objects. This way a layergroup can have more that one source, and each will bring its own meta along for the ride.
The text was updated successfully, but these errors were encountered: