Skip to content

Commit

Permalink
regenerate with updated packages (#177)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Mason <[email protected]>
  • Loading branch information
mikemrm authored Jun 18, 2024
1 parent b19b5e0 commit acdce91
Show file tree
Hide file tree
Showing 11 changed files with 117 additions and 136 deletions.
60 changes: 22 additions & 38 deletions internal/ent/generated/gql_collection.go

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

25 changes: 15 additions & 10 deletions internal/ent/generated/gql_node.go

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

9 changes: 6 additions & 3 deletions internal/ent/generated/gql_pagination.go

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

6 changes: 0 additions & 6 deletions internal/ent/generated/tenant.go

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

10 changes: 0 additions & 10 deletions internal/ent/templates/interfaces.tmpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
{{ define "model/additional/interfaces" }}
{{- if eq $.Name "Tenant" }}
// IsMetadataNode implements interface for MetadataNode
func ({{ $.Receiver }} {{ $.Name }}) IsMetadataNode() {}

// IsResourceOwner implements interface for ResourceOwner
func ({{ $.Receiver }} {{ $.Name }}) IsResourceOwner() {}
{{ end }}
{{ end }}

{{ define "interfaces" }}
{{ $pkg := base $.Config.Package }}
{{ template "header" $ }}
Expand Down
2 changes: 1 addition & 1 deletion internal/graphapi/ent_resolvers.go

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

2 changes: 1 addition & 1 deletion internal/graphapi/entity_resolvers.go

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

12 changes: 11 additions & 1 deletion internal/graphapi/gen_federation.go

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

Loading

0 comments on commit acdce91

Please sign in to comment.