Skip to content

Commit

Permalink
entgql/internal/todo: add strings type to example schema (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
a8m authored Dec 24, 2021
1 parent dcef0ad commit 40bdff0
Show file tree
Hide file tree
Showing 30 changed files with 810 additions and 12 deletions.
15 changes: 15 additions & 0 deletions entgql/internal/todo/ent/category.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions entgql/internal/todo/ent/category/category.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions entgql/internal/todo/ent/category/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions entgql/internal/todo/ent/category_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions entgql/internal/todo/ent/category_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion entgql/internal/todo/ent/gql_node.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions entgql/internal/todo/ent/migrate/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 74 additions & 1 deletion entgql/internal/todo/ent/mutation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions entgql/internal/todo/ent/schema/category.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ func (Category) Fields() []ent.Field {
Annotations(
entgql.Type("Uint64"),
),
field.Strings("strings").
Optional(),
}
}

Expand Down
Loading

0 comments on commit 40bdff0

Please sign in to comment.