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

make effect elaborator respect predicated mappings #650

Merged
merged 2 commits into from
Sep 7, 2024

Conversation

tpolecat
Copy link
Member

This changes EffectElaborator to accept an arbitrary function that maps context+field to effect handler, allowing users to delegate to typeMappings.fieldMapping (which understands predicated mappings).

@tpolecat
Copy link
Member Author

Hm this is causing some failures on our end, looks like. Closing for now.

@tpolecat tpolecat closed this Aug 29, 2024
@tpolecat
Copy link
Member Author

tpolecat commented Sep 4, 2024

Ok the failure was unrelated to this. It also may be the cause of our problems with #634 so I'll circle back to that.

@tpolecat tpolecat reopened this Sep 4, 2024
@tpolecat
Copy link
Member Author

tpolecat commented Sep 5, 2024

@milessabin we're blocked on this issue so it would be nice to get a release out if it looks ok to you.

Copy link
Member

@milessabin milessabin left a comment

Choose a reason for hiding this comment

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

LGTM!

@milessabin
Copy link
Member

Yeah, that looks like it was an oversight part.

@milessabin milessabin merged commit c89a60f into main Sep 7, 2024
31 checks passed
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