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

createCollections returns slice with empty values #2764

Closed
AndrewSisley opened this issue Jun 24, 2024 · 0 comments · Fixed by #2765
Closed

createCollections returns slice with empty values #2764

AndrewSisley opened this issue Jun 24, 2024 · 0 comments · Fixed by #2765
Assignees
Labels
area/schema Related to the schema system bug Something isn't working
Milestone

Comments

@AndrewSisley
Copy link
Contributor

Found by Fred.

@AndrewSisley AndrewSisley added bug Something isn't working area/schema Related to the schema system labels Jun 24, 2024
@AndrewSisley AndrewSisley added this to the DefraDB v0.12 milestone Jun 24, 2024
@AndrewSisley AndrewSisley self-assigned this Jun 24, 2024
AndrewSisley added a commit that referenced this issue Jun 24, 2024
## Relevant issue(s)

Resolves #2764

## Description

Return slice of correct length from db.AddSchema, values are appended to
this slice later in the function, but the result declaration is done as
if they will be set by index.

Bug also affected `db.AddView`.
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 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant