Skip to content

Fix issue with obtaining polymorphic props + setParentTypes()#133

Merged
lvca merged 3 commits into
ArcadeData:mainfrom
PhantomYdn:fixPolymorphic
Oct 14, 2021
Merged

Fix issue with obtaining polymorphic props + setParentTypes()#133
lvca merged 3 commits into
ArcadeData:mainfrom
PhantomYdn:fixPolymorphic

Conversation

@PhantomYdn

Copy link
Copy Markdown
Contributor

Methods existsPolymorphicProperty() and getPolymorphicPropertyNames() worked incorrectly: no current properties, no properties above parent. That've got fixed. Plus added useful method for setting full set of needed parent types. @lvca, please check, potentially it can be optimized.

@lvca

lvca commented Oct 14, 2021

Copy link
Copy Markdown
Member

@PhantomYdn thanks for the PR. Could you please install pre-commit? https://github.com/ArcadeData/arcadedb/blob/main/CONTRIBUTING.md#pre-commit. In this way, formatting is taken care of before you push and the test can run. Thanks in advance.

@lvca lvca self-assigned this Oct 14, 2021
@lvca lvca added the bug label Oct 14, 2021
@lvca

lvca commented Oct 14, 2021

Copy link
Copy Markdown
Member

Apart from the formatting, the code looks good to me and ready to merge as soon as you can update the PR with the changes by pre-commit

@lvca lvca added this to the 21.10.2 milestone Oct 14, 2021
@PhantomYdn

Copy link
Copy Markdown
Contributor Author

Done

@lvca lvca merged commit edd7133 into ArcadeData:main Oct 14, 2021
@lvca

lvca commented Oct 14, 2021

Copy link
Copy Markdown
Member

Thanks @PhantomYdn !

tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
…Data#133)

* Fix issue with obtaining polymorphic props + setParentTypes()

* Fix styles + ignoring vim files
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