Remove graphql collection param (#489)

* Remove GraphQL collection parameter

* Update tech spec to mark query service complete
This commit is contained in:
cybermaggedon 2025-09-04 10:04:09 +01:00 committed by GitHub
parent 85e669c763
commit 27d657c58d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ The structured data integration requires the following technical components:
Module: trustgraph-flow/trustgraph/storage/objects/cassandra
5. **Structured Query Service**
5. **Structured Query Service****[COMPLETE]**
- Accepts structured queries in defined formats
- Executes queries against the structured store
- Returns objects matching query criteria

View file

@ -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)