-
Notifications
You must be signed in to change notification settings - Fork 56
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
Constant value fields #770
Comments
Do you have a specific example use case where this would be helpful? |
@benjelloun could I get some advice here? It looks like I'll need to update the I am seeing some tests for |
Also, would like to recommend that the 1.1 spec be a new branch rather than a parallel file. This will help with the code and spec being in sync (viz. should we update 1.0 spec code to support 1.1 spec?) |
It looks like |
It's often useful to associate key-value pairs at the level of a RecordSet. We propose doing that by adding a "value" property to Field that allows it to have a fixed value.
This is similar to the "data" property of RecordSet, that makes it possible to specify the values (records) contained in a RecordSet directly in the Croissant definition.
The "value" of a Field can be atomic, for Fields with a simple dataType, or it can be structured, in case the Field has SubFields. For the latter case, a JSON string can be used to represent the value.
The text was updated successfully, but these errors were encountered: