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

Fix issue with querying value on EmbedBlock #399

Merged
merged 5 commits into from
Aug 14, 2024

Conversation

JakubMastalerz
Copy link
Contributor

@JakubMastalerz JakubMastalerz commented Jul 29, 2024

Fixes #395

This PR changes the incorrectly named resolve_raw_value function to resolve_value on EmbedBlock. This fixes an issue where it was impossible to query for value on embeds using wagtail_grapple.

@JakubMastalerz JakubMastalerz changed the title Fix/embed block value Fix issue with querying value on EmbedBlock Jul 29, 2024
Copy link
Member

@zerolab zerolab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small DRY suggestion, then it will be good to go

grapple/types/streamfield.py Outdated Show resolved Hide resolved
@zerolab zerolab merged commit 0d20a8c into torchbox:main Aug 14, 2024
16 checks passed
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.

resolve_value missing from EmbedBlock
2 participants