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

GraphQL: Additional thumbnail data to nodes #444

Merged
merged 4 commits into from
Dec 2, 2024

Conversation

martastain
Copy link
Member

@martastain martastain commented Nov 21, 2024

Changes Introduced

  • Deprecated the thumbnailId field on GraphQL nodes.
  • Added a new thumbnail node for all entities with available thumbnails (returns null if no thumbnail is present).
  • Use node?.thumbnail?.id to access the ID of the associated thumbnail.
  • Introduced two additional attributes:
    • thumbnail?.sourceEntityType: Indicates the type of the entity from which the thumbnail is inherited.
    • thumbnail?.sourceEntityId: Provides the ID of the source entity.
  • The thumbnail node is now also available on the project node.

@martastain martastain linked an issue Nov 21, 2024 that may be closed by this pull request
@martastain martastain marked this pull request as draft November 21, 2024 13:08
@martastain martastain added the type: feature Adding something new and exciting to the product label Nov 21, 2024
@martastain martastain self-assigned this Nov 21, 2024
@martastain martastain marked this pull request as ready for review December 2, 2024 08:20
@martastain martastain merged commit ceced8c into develop Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Adding something new and exciting to the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional thumbnail data to graphql nodes
1 participant