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

Rework iterable to allow Immutable components refs + placed in any order in the tuple list (same for Optional Components) #8

Merged
merged 4 commits into from
Mar 6, 2024

Conversation

Indra-db
Copy link
Owner

@Indra-db Indra-db commented Mar 6, 2024

  • Previously you could only create queries where the last type parameters could be optional types, which may or may not be present. This caused a lot of code bloat which was hard to maintain. Through heavy refactoring this bloat has been eliminated and now optional components can be in any order within the tuple list.

  • Immutable components in query's are supported now.

  • Iterable implementation got a lot cleaner, easier to maintain and further extendible if desired. We could for example introduce custom wrappers such as Singleton instead of using .term_at(i).singleton()

@Indra-db Indra-db changed the title Rework iterable Rework iterable to allow Immutable components refs + placed in any order in the tuple list (same for Optional Components) Mar 6, 2024
@Indra-db Indra-db merged commit 4362ac3 into master Mar 6, 2024
7 checks passed
@Indra-db Indra-db deleted the rework_iterable branch March 6, 2024 18:02
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.

1 participant