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

Modify existing field to allow for the saving of image data(URL and metadata) directly to the content table #27

Open
ericdrosas87 opened this issue Mar 27, 2023 · 2 comments
Assignees

Comments

@ericdrosas87
Copy link
Contributor

  • Must be retrievable via GraphQL query on entries
  • Must have an accompanying column in the content table to store the Canto asset ID for easy lookup/metadata modification
@khalwat
Copy link
Collaborator

khalwat commented Apr 14, 2023

As per our conversation, what we'll do is create a totally new field type for this, to ease the migration from the old to the new schema/field type

@khalwat
Copy link
Collaborator

khalwat commented Apr 19, 2023

This is the bulk of the work:

  • A field that returns a Collection that can be searched/filtered through
  • A field-based GraphQL API that allows fetching said Canto asset(s) via regular Craft queries
  • A GraphQL API that allows for searching through all of the DAM Asset Picker fields by creating a Collection of all of their data, and then exposing all of the Collection methods via a dynamically generated GraphQL API using PHP Reflection methods on the Collection class

Estimate: 10 hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants