Skip to content

INTPYTHON-935 Added NotSupportedError for QuerySet.extra(where=...)#507

Merged
timgraham merged 1 commit into
mongodb:mainfrom
timgraham:extrawhere-crash
Mar 17, 2026
Merged

INTPYTHON-935 Added NotSupportedError for QuerySet.extra(where=...)#507
timgraham merged 1 commit into
mongodb:mainfrom
timgraham:extrawhere-crash

Conversation

@timgraham

Copy link
Copy Markdown
Collaborator

No description provided.

@timgraham
timgraham requested a review from aclark4life March 16, 2026 18:12

@aclark4life aclark4life left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If appropriate and although it may already be obvious, it might be nice to call out that extra is unsupported and that where should have already raised NotSupportedError, otherwise LGTM.

@timgraham

timgraham commented Mar 17, 2026

Copy link
Copy Markdown
Collaborator Author

In the release note? That's what I tried to convey by saying, "(rather than raising NotSupportedError)"
edit: revised release note to clarify.

@timgraham timgraham changed the title INTPYTHON-935 Fix QuerySet.extra(where=...) crash INTPYTHON-935 Added NotSupportedError for QuerySet.extra(where=...) Mar 17, 2026
@timgraham
timgraham merged commit ad359a9 into mongodb:main Mar 17, 2026
21 checks passed
@timgraham
timgraham deleted the extrawhere-crash branch March 17, 2026 11:19
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