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

Finish relation definition refactor #6026

Open
lucasbordeau opened this issue Jun 25, 2024 · 1 comment
Open

Finish relation definition refactor #6026

lucasbordeau opened this issue Jun 25, 2024 · 1 comment
Assignees

Comments

@lucasbordeau
Copy link
Contributor

Scope & Context

Frontend, everything related to relation manipulation.

Technical inputs

We implemented a relationDefinition computed field on metadata. We want to use only this field to implement a unique system for relations and remove confusion we easily get when manipulating relations with the current backend.

Copy link

greptile-apps bot commented Jun 25, 2024

  1. Update field-metadata.resolver.ts to ensure relationDefinition is computed and returned correctly.
  2. Modify field-metadata.service.ts to centralize logic for computing relationDefinition.
  3. Refactor SettingsObjectNewFieldStep2.tsx to use relationDefinition for all relation manipulations.
  4. Update useRelationField.ts to utilize relationDefinition for consistent relation handling.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Planned
Development

No branches or pull requests

1 participant