graphiti-api / graphiti

Stylish Graph APIs
https://www.graphiti.dev/
MIT License
960 stars 138 forks source link

Support schema for filters of extra attributes #379

Closed PChambino closed 2 years ago

PChambino commented 2 years ago

Defining a filter for an extra attribute causes the schema generation to fail since it doesn't consider extra attributes.

This change allows filters (and sorts) of extra attributes to be included in the generated schema. It also adds support for the schema attribute option for extra attributes for parity with attributes.

Fixes https://github.com/graphiti-api/graphiti/issues/378

What do you think? For parity with attributes it makes sense to me, the functionality is already there, this is makes schema generation work.

richmolj commented 2 years ago

Sorry for the delay @PChambino really appreciate the PR ❤️ Released in 1.3.5