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 string/named substitution of field Kind #1220

Closed
Tracked by #1002
AndrewSisley opened this issue Mar 22, 2023 · 0 comments · Fixed by #1223
Closed
Tracked by #1002

Allow string/named substitution of field Kind #1220

AndrewSisley opened this issue Mar 22, 2023 · 0 comments · Fixed by #1223
Assignees
Labels
area/schema Related to the schema system feature New feature or request
Milestone

Comments

@AndrewSisley
Copy link
Contributor

Part of #1002

For example instead of just:

{ "op": "add", "path": "/Users/Schema/Fields/-", "value": {"Name": "Name", "Kind": 11} }

We should also allow:

{ "op": "add", "path": "/Users/Schema/Fields/-", "value": {"Name": "Name", "Kind": "String"} }

And automagically transform "String" into 11

@AndrewSisley AndrewSisley added feature New feature or request area/schema Related to the schema system labels Mar 22, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.5 milestone Mar 22, 2023
@AndrewSisley AndrewSisley self-assigned this Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema Related to the schema system feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant