graphql
graphql copied to clipboard
Support selecting relationships/fields that the CONNECT/DISCONNECT @authorization applies to.
Current @authorization support selecting an operation, such as CREATE, DELETE, UPDATE, CONNECT and DISCONNECT. It seems like connect and disconnect would apply to ANY connection being made. Sometimes we want to prevent all connections, except one. And sometimes we want to permit all connections expect one.
Have you considered making the configurable - perhaps based on white or blacklisting edge names per type for simplicity?