diff options
author | Michael Muré <batolettre@gmail.com> | 2024-08-28 11:43:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 09:43:42 +0000 |
commit | 57e7147021e38b847213d4dc7f0e0bf0b022850d (patch) | |
tree | 882650697950003e2325f0815353032a8596ca1d /api/graphql/resolvers/identity.go | |
parent | e45c3c5ee6dc5650fd8c3f480d9e09e5f3b221fd (diff) | |
download | git-bug-57e7147021e38b847213d4dc7f0e0bf0b022850d.tar.gz |
graphql: properly namespace Bug to make space for other entities (#1254)
Also: use gqlgen directives to help the type auto-binding
Missing:
- namespace mutations
- adapt the webUI queries
Diffstat (limited to 'api/graphql/resolvers/identity.go')
-rw-r--r-- | api/graphql/resolvers/identity.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/api/graphql/resolvers/identity.go b/api/graphql/resolvers/identity.go index 6e81df36..b9a1828f 100644 --- a/api/graphql/resolvers/identity.go +++ b/api/graphql/resolvers/identity.go @@ -11,10 +11,6 @@ var _ graph.IdentityResolver = &identityResolver{} type identityResolver struct{} -func (identityResolver) ID(ctx context.Context, obj models.IdentityWrapper) (string, error) { - return obj.Id().String(), nil -} - func (r identityResolver) HumanID(ctx context.Context, obj models.IdentityWrapper) (string, error) { return obj.Id().Human(), nil |