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

Materializer chaining #721

Open
Yohe-Am opened this issue May 15, 2024 · 1 comment
Open

Materializer chaining #721

Yohe-Am opened this issue May 15, 2024 · 1 comment
Labels

Comments

@Yohe-Am
Copy link
Contributor

Yohe-Am commented May 15, 2024

Allow materializers to be chained together, the results of one serving as input of another (or even many). This can be used to compose common logic, like middleware, inline within typegraph. The best way of doing this today might be by relying on custom functions that share the middleware logic amongst themselves.

It might be overkill though:

  • Might introduce latency concerns users will have to be wary about
  • Might challenge the expressiveness of typegraphs, as this feature would be a big fat step towards turing completeness (not desirable?)
  • Sits in a place between dedicated typegraph features like a policies and custom function materializers.
    • Utility is easy to see but can it be avoided by improving the already existing features some other way?
@Yohe-Am Yohe-Am added enhancement New feature or request typegraph typegate labels May 15, 2024
Copy link

linear bot commented May 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant