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

Added support for non-root effects #358

Merged
merged 2 commits into from
Mar 26, 2023
Merged

Commits on Mar 21, 2023

  1. Added support for non-root effects

    + Added EffectMapping with one-shot and batched variants.
    + Added EffectHandler type and Effect node to the query algebra.
    + Added EffectElaborator phase which maps selections of effect-mapped
      fields into Effect nodes.
    + Generalized StagedJson to EffectJson, handling both components and
      batched effects.
    + Simplified effect/stage grouping/batching logic.
    + Renamed and simplified Mapping#combineQueries to combineAndRun. This
      also replace QueryInterpreter#runRootValues which has been removed.
    + Several root APIs (eg. defaultRootCursor) which were previously
      parameterized with a Type and/or an Env are now parameterized with an
      optional parent Cursor. This allows for more uniform inheritance of
      runtime attributes between components.
    + Removed redundant Defer node from the query algebra.
    + Reordered the argument to the component join for consistency.
    milessabin committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    f822b6c View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Updates following review

    + Renamed EffectMapping to EffectField.
    + Added scaladoc for PossiblyRenamedSelect.
    + Added sqlCursor method similar to circeCursor, valueCursor etc.
    + Extended test to illustrate making a follow on SQL query driven by
      values returned from an intermediate service request.
    milessabin committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    67ce8fc View commit details
    Browse the repository at this point in the history