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

Support for default values #2952

Closed
fredcarle opened this issue Aug 23, 2024 · 0 comments · Fixed by #2997
Closed

Support for default values #2952

fredcarle opened this issue Aug 23, 2024 · 0 comments · Fixed by #2997
Assignees
Labels
feature New feature or request priority/high
Milestone

Comments

@fredcarle
Copy link
Collaborator

We should add support for default values

Possible directive for the feature:

type User {
  name: String
  active: Bool @default(bool: true)
  employer: String @default(string: "ACME")
  age: Int @default(int: 24)
}
@fredcarle fredcarle added feature New feature or request priority/high labels Aug 23, 2024
@fredcarle fredcarle added this to the DefraDB v0.14 milestone Aug 23, 2024
@nasdf nasdf self-assigned this Sep 6, 2024
@nasdf nasdf closed this as completed in ea3a74f Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request priority/high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants