Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Add default fields relations information #53

Closed
wellingguzman opened this issue Apr 8, 2018 · 4 comments
Closed

Add default fields relations information #53

wellingguzman opened this issue Apr 8, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@wellingguzman
Copy link
Contributor

All fields and collections needs directus_fields, directus_collections and directus_relations information in order to work properly.

@wellingguzman wellingguzman added the enhancement New feature or request label Apr 8, 2018
@wellingguzman wellingguzman added this to the API 2.0 Beta Release milestone Apr 8, 2018
@benhaynes
Copy link
Member

  • Collections require a value within directus_collections to be "managed".
  • Fields should always show up (even without a directus_fields record), unless they are blacklisted in permissions.
  • Fields not in directus_fields should pull the basic info from the DB schema and returned in API responses. They should also have a managed flag set to true if they have a record.

@wellingguzman
Copy link
Contributor Author

This will be another "big" ticket that needs to be separated from this.

What actually I wanted to do from this ticket is set the default interface and data types for all the directus fields and relations.

@wellingguzman
Copy link
Contributor Author

Moved your notes to a new ticket (#60)

@wellingguzman wellingguzman changed the title Add default system collections/fields informaiton Add default fields relations information Apr 10, 2018
@wellingguzman
Copy link
Contributor Author

I actually wanted to add the relations information, I changed the ticket title accordingly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants