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

Removing OptionalLinkStreamBlock #45

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

vossisboss
Copy link
Contributor

As far as I can tell OptionalLinkStreamBlock is not really necessary. Using LinkStreamBlock(required=False, min_num=0) seems to achieve the same result.

As a result, I suggest we remove this block rather than keep it in the code.

Copy link
Member

@laymonage laymonage left a comment

Choose a reason for hiding this comment

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

Makes sense to me, thanks!

@laymonage laymonage merged commit 4b15298 into wagtail:main Mar 11, 2025
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