Skip to content

Conversation

@mallardduck
Copy link

This is necessary due to how the Assets class inherits from BaseQuery. As both classes define a query and Query method these overlap. Unfortunately they do not have similar functionality - from what I see it seems that the Assets class uses the same Query method as the ContentType class.

As Assets query method is most similar to ContentType’s method changing that method name could make sense. However to prevent more breaking changes, I think, this should be avoid. Plus I think there’s justification for different method names since they have slightly different contexts.

This is necessary due to how the Assets class inherits from BaseQuery. As both classes define a `query` and `Query` method these overlap. Unfortunately they do not have similar functionality - from what I see it seems that the Assets class uses the same Query method as the ContentType class.

As Assets query method is most similar to ContentType’s method changing that method name could make sense. However to prevent more breaking changes, I think, this should be avoid. Plus I think there’s justification for different method names since they have slightly different contexts.
@mallardduck
Copy link
Author

This fixes the issue referenced in #4; this is just a necessary fix before I can shoot over some PRs for #3.

@uttamukkoji
Copy link
Contributor

Hi @mallardduck ,

We fixed issue with Asset Query function in pull request #12 .

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

Successfully merging this pull request may close these issues.

2 participants