Skip to content

Removed .valueOrAbort #19

Merged
merged 1 commit into from
Aug 13, 2022
Merged

Removed .valueOrAbort #19

merged 1 commit into from
Aug 13, 2022

Conversation

InversionSpaces
Copy link
Contributor

@InversionSpaces InversionSpaces commented Aug 7, 2022

Problem

FromExpr[QueryMeta[T]] should not abort compilation if meta could not be retrieved from expression.

Solution

Replace .valueOrAbort with .map.

@oolong/maintainers

@desavitsky
Copy link
Contributor

desavitsky commented Aug 11, 2022

The idea was to abort compilation if there is a runtime constant in query meta.
However, when I now tried to stop compilation by using runtime constant in meta, it didn't and just ignored meta - that is to be fixed
So, I think it doesn't affect anything and can be merged
And not aborting compilation when runtime value should be fixed

@danslapman danslapman merged commit 0533a49 into main Aug 13, 2022
@danslapman danslapman deleted the feature/remove-abort branch August 13, 2022 11:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants