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

[4.x] Include alt field in shallowly augmented assets #10013

Merged
merged 2 commits into from
May 7, 2024

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented May 7, 2024

This pull request adds the alt field to the array of keys included when "shallowly augmenting" assets.

Without alt being part of shallowly augmented assets, it means developers need to do an additional API request for every asset they need to get alt text for.

Fixes #10011.

@jasonvarga jasonvarga merged commit a7f97df into 4.x May 7, 2024
35 checks passed
@jasonvarga jasonvarga deleted the include-alt-in-shallowly-augmented-assets branch May 7, 2024 21:26
duncanmcclean added a commit to statamic/docs that referenced this pull request May 9, 2024
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.

Asset alt text missing from REST API response when querying an Entry
2 participants