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

Add LinkableElementUnion and use it in WhereFilterSpec #1337

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Jul 15, 2024

As a part of making WhereFilterSpec serializable, this updates the field WhereFilterSpec.linkable_elements to be a union type that is supported by the serializer.

@cla-bot cla-bot bot added the cla:yes label Jul 15, 2024
@plypaul plypaul force-pushed the p--query-resolution-perf--10 branch from 60396be to 5e910ac Compare July 15, 2024 22:12
@plypaul plypaul force-pushed the p--query-resolution-perf--11 branch from 1fc9566 to 21a7a17 Compare July 15, 2024 22:12
@plypaul plypaul force-pushed the p--query-resolution-perf--10 branch from 5e910ac to 2cba144 Compare July 16, 2024 16:54
@plypaul plypaul force-pushed the p--query-resolution-perf--11 branch from 21a7a17 to 554a820 Compare July 16, 2024 16:55
@plypaul plypaul changed the title Update fields in LinkableElement-related classes to use tuples Add LinkableElementUnion and use it in WhereFilterSpec Jul 16, 2024
@plypaul plypaul marked this pull request as ready for review July 16, 2024 21:06
Copy link
Contributor

@courtneyholcomb courtneyholcomb left a comment

Choose a reason for hiding this comment

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

Looks good!

linkable_spec_set: LinkableSpecSet

# def __init__(self, *args, **kwargs):
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to leave this in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch - removed.

@plypaul plypaul force-pushed the p--query-resolution-perf--10 branch from 2cba144 to 42ea1eb Compare July 17, 2024 01:15
@plypaul plypaul force-pushed the p--query-resolution-perf--11 branch from 554a820 to d57898e Compare July 17, 2024 01:15
@plypaul plypaul force-pushed the p--query-resolution-perf--10 branch from e71a515 to 9ace719 Compare July 17, 2024 22:38
@plypaul plypaul force-pushed the p--query-resolution-perf--11 branch from d57898e to c65a1ea Compare July 17, 2024 22:38
Base automatically changed from p--query-resolution-perf--10 to main July 17, 2024 23:53
@plypaul plypaul force-pushed the p--query-resolution-perf--11 branch from c65a1ea to f8a2283 Compare July 17, 2024 23:53
@plypaul plypaul force-pushed the p--query-resolution-perf--11 branch from f8a2283 to 261ab95 Compare July 17, 2024 23:54
@plypaul plypaul enabled auto-merge (squash) July 17, 2024 23:58
@plypaul plypaul merged commit 17a7fb3 into main Jul 17, 2024
11 checks passed
@plypaul plypaul deleted the p--query-resolution-perf--11 branch July 17, 2024 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants