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

Factor out finding discriminator values for a class #11213

Closed
wants to merge 1 commit into from

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Feb 3, 2024

While reviewing #11200, I noticed that almost the same bug that was fixed in the SqlWalker had been fixed in #10643 for the SingleTablePersister.

The underlying question is what the possible discriminator column values may be for a given class.

This PR is a refactoring that moves this logic to an internal method in ClassMetadata, and uses it from both other places.

(This is a draft for the time being. Waiting for #11200 to be merged and merged up, then this PR will keep only the actual refactoring for 3.1.x.)

Copy link
Contributor

There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.
If you want to continue working on it, please leave a comment.

@github-actions github-actions bot added the Stale label Oct 16, 2024
Copy link
Contributor

This pull request was closed due to inactivity.

@github-actions github-actions bot closed this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant