You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm trying to use a graphcraft model hook to apply an additional operation to the WHERE clause of a fetch. However, because the additional operation needs to be expressed as a Sequelize Literal query it gets mangled in the argsToFindOptions function of graphql-sequelize which stops it working. Would you be open to me adding a way to provide hooks that are directly added as graphql-sequelize hooks rather than invoked beforehand so that I can modify the findOptions directly.
The text was updated successfully, but these errors were encountered:
Currently I'm trying to use a graphcraft model hook to apply an additional operation to the WHERE clause of a
fetch
. However, because the additional operation needs to be expressed as a Sequelize Literal query it gets mangled in theargsToFindOptions
function ofgraphql-sequelize
which stops it working. Would you be open to me adding a way to provide hooks that are directly added asgraphql-sequelize
hooks rather than invoked beforehand so that I can modify thefindOptions
directly.The text was updated successfully, but these errors were encountered: