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

No way to fetch defined schema versions #1993

Closed
AndrewSisley opened this issue Oct 23, 2023 · 0 comments · Fixed by #2006
Closed

No way to fetch defined schema versions #1993

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

Comments

@AndrewSisley
Copy link
Contributor

There is actually no way to fetch the schema versions not actively in use in Defra. If a collection is not using a schema version, it is impossible to view it.

We should add some commands to allow users to get them, by schema ID, version ID, name, and all.

@AndrewSisley AndrewSisley added feature New feature or request area/schema Related to the schema system labels Oct 23, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.8 milestone Oct 24, 2023
@AndrewSisley AndrewSisley self-assigned this Oct 24, 2023
AndrewSisley added a commit that referenced this issue Oct 27, 2023
## Relevant issue(s)

Resolves #1993

## Description

Adds means to fetch schema.

Adds a bunch of funcs to the clients to allow fetching of
schema(versions) defined in the system. When the set-default stuff got
merged, users were no longer guaranteed (at least on init) to be able to
view the schema ids they have created, this change allows them to view
them when ever they like.
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1993

## Description

Adds means to fetch schema.

Adds a bunch of funcs to the clients to allow fetching of
schema(versions) defined in the system. When the set-default stuff got
merged, users were no longer guaranteed (at least on init) to be able to
view the schema ids they have created, this change allows them to view
them when ever they like.
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