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

Allow arbitrary record fields. #180

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

timothee-haudebourg
Copy link
Collaborator

This PR adds support for non-string record layout fields. I changed TreeLDR's tree data model a bit to allow arbitrary map keys. Unfortunatly non-string keys are not supported by JSON, so its not possible to create such layout with the JSON syntax. There is a DSL comming to define layouts, but in the mean time it's still possible to use any syntax that allows arbitrary map keys, such as CBOR (but its not human readable) or RON.

@timothee-haudebourg timothee-haudebourg merged commit 90d53f7 into main Apr 5, 2024
2 checks passed
@timothee-haudebourg timothee-haudebourg deleted the timothee-haudebourg/issue179 branch April 5, 2024 15:37
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

Successfully merging this pull request may close these issues.

1 participant