mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Fix GraphQL _objects suffix
This commit is contained in:
parent
5a6a5234b4
commit
19c6c17dd0
1 changed files with 2 additions and 2 deletions
|
|
@ -271,8 +271,8 @@ class Processor(FlowProcessor):
|
|||
|
||||
return resolver
|
||||
|
||||
# Add resolver to query
|
||||
resolver_name = f"{schema_name}_objects"
|
||||
# Add resolver to query - just use the schema name directly
|
||||
resolver_name = schema_name
|
||||
resolver_func = make_resolver(schema_name, row_schema, graphql_type)
|
||||
self.resolvers[resolver_name] = resolver_func
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue