mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Remove GraphQL collection parameter
This commit is contained in:
parent
85e669c763
commit
5be5b0b8b1
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,6 @@ class Processor(FlowProcessor):
|
|||
def make_resolver(s_name, r_schema, g_type, f_type, sort_enum):
|
||||
async def resolver(
|
||||
info: Info,
|
||||
collection: str,
|
||||
where: Optional[f_type] = None,
|
||||
order_by: Optional[str] = None,
|
||||
direction: Optional[sort_enum] = None,
|
||||
|
|
@ -420,6 +419,7 @@ class Processor(FlowProcessor):
|
|||
# Get the processor instance from context
|
||||
processor = info.context["processor"]
|
||||
user = info.context["user"]
|
||||
collection = info.context["collection"]
|
||||
|
||||
# Parse the idiomatic where clause
|
||||
filters = processor.parse_idiomatic_where_clause(where)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue