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

Irrelevance fields Appear for Rendition (they are Image specific fields) #313

Open
engAmirEng opened this issue Feb 11, 2023 · 2 comments
Open

Comments

@engAmirEng
Copy link
Contributor

Fields like title,focal_point_x,focal_point_y,focal_point_width,focal_point_height,file_hash,collection,tags are Image specific but they appear for Rendition type and obviously cause error
they are coming from BaseImageObjectType that it's main purpose appears to be base class for both Image and Rendition due to this:

class ImageRenditionObjectType(DjangoObjectType, BaseImageObjectType):

class ImageObjectType(DjangoObjectType, BaseImageObjectType):

@dopry
Copy link
Collaborator

dopry commented Feb 13, 2023

What specific errors are you getting?

@engAmirEng
Copy link
Contributor Author

Just try to query these fields on the rendition type, they simply can not be resolved

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

No branches or pull requests

2 participants