Skip to content

feature/type filter not working (branch main) #3

@massimiliano-cannata

Description

@massimiliano-cannata

Request:
http://localhost:8018/istsos4/v1.1/FeaturesOfInterest?$filter=feature/type%20eq%20Point

Error:
File "/code/app/sta2rest/filter_visitor.py", line 217, in visit_Attribute
api-1 | raise ValueError(f"Not a relationship: {node.owner}")
api-1 | ValueError: Not a relationship: Identifier(name='feature', namespace=())
api-1 | INFO: 172.18.0.1:49294 - "GET /istsos4/v1.1/FeaturesOfInterest?$filter=feature/type%20eq%20Point HTTP/1.1" 400 Bad Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions