Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(Graphql): Ensure GraphQL hasInverse works #34

Merged
merged 9 commits into from
Mar 31, 2022
Merged

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Mar 31, 2022

In the past, hasInverse in GraphQL had been avoiding the use of reverse directive available at the core. After a careful review, I decided it's best to remove the @reverse directive from the core. It was adding a bunch of complexity, which was unwarranted. The same can be achieved by adding edges in both the directions at the GraphQL layer.

In this PR, I've added support for hasInverse back after the rewrite of #32 ( 9b9d56 ).

BREAKING: This change removes @reverse directive from Outserv core.

Fixes #35 .


This change is Reviewable

@manishrjain manishrjain merged commit 5542c5d into main Mar 31, 2022
@manishrjain manishrjain deleted the mrjn/hasinverse branch March 31, 2022 23:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outserv Issue - Inverse Relationship
1 participant