From eae20cdadac82ca1e0352000fe0211e20b590e8b Mon Sep 17 00:00:00 2001 From: RamonWill Date: Thu, 23 Apr 2020 11:50:57 +0100 Subject: [PATCH] changelog for issue 4212 --- doc/build/changelog/unreleased_14/4212.rst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/build/changelog/unreleased_14/4212.rst diff --git a/doc/build/changelog/unreleased_14/4212.rst b/doc/build/changelog/unreleased_14/4212.rst new file mode 100644 index 0000000000..bdf9a67434 --- /dev/null +++ b/doc/build/changelog/unreleased_14/4212.rst @@ -0,0 +1,9 @@ +.. change:: + :tags: bug, easy, inheritance, orm + :tickets: 4212 + + An :class:`.ArgumentError` is now raised if both the selectable and flat + parameters are set to True in :func:`.orm.with_polymorphic`. + The selectable name is already aliased and applying flat=True + overrides the selectable name with an anonymous name that would've + previously caused the code to break. Pull request courtesy Ramon Williams. -- 2.47.3