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
joelalejandro
changed the title
Explore ways to prevent relationships from forcing dependency cycles
Explore ways to prevent relationships from creating dependency cycles
Jun 24, 2021
Using direct resource imports to set the
type
in a relationship can produce a dependency cycle.We might want to replace
type: () => Resource
with astring
resolver to prevent this and useresourceFor()
to resolve the type internally.We can accept both syntaxes to prevent this from becoming a breaking change.
The text was updated successfully, but these errors were encountered: