Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lens does not support relation setting via alias fields #1710

Open
AndrewSisley opened this issue Jul 25, 2023 · 0 comments
Open

Lens does not support relation setting via alias fields #1710

AndrewSisley opened this issue Jul 25, 2023 · 0 comments
Labels
area/schema Related to the schema system bug Something isn't working feature New feature or request

Comments

@AndrewSisley
Copy link
Contributor

e.g. with schema:

type Users {
	company: Companies
	name: String
}

Setting company_id via a lens migration will successfully link the two documents, however setting company will not.

Given that the query system supports linking via company, I think Lens should too, or it will trip up users. Whilst I think this will be very easy from the primary side, this may be more complex from the secondary side of a one-one.

@AndrewSisley AndrewSisley added bug Something isn't working feature New feature or request area/schema Related to the schema system labels Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema Related to the schema system bug Something isn't working feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant