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

Remove TA,VA from EvaluatorQuick components: Loop, Native, Result, SDKValue, etc... #383

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

deusaquilus
Copy link
Contributor

@deusaquilus deusaquilus commented Sep 5, 2023

  • Removing type parameters from various EvaluatorQuick constructs Loop, Native, Result, SDKValue, etc...
  • This can be done because MorphirEvaluator now has TA/VA as type members instead of type parameters.
  • TypedMorphirEvaluator now has an object to define TypeAttribs, ValueAttribs that are used throughout the evaluator

@netlify
Copy link

netlify bot commented Sep 5, 2023

Deploy Preview for magical-donut-e8221d ready!

Name Link
🔨 Latest commit 1524b7a
🔍 Latest deploy log https://app.netlify.com/sites/magical-donut-e8221d/deploys/64f6b344eb4b6e0008bfdde1
😎 Deploy Preview https://deploy-preview-383--magical-donut-e8221d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

trait TypedMorphirRuntime extends MorphirRuntime {
type TypeAttribs = TypedMorphirRuntime.TypeAttribs
type ValueAttribs = TypedMorphirRuntime.ValueAttribs

final def evaluate(
entryPoint: Value[scala.Unit, UType],
Copy link
Member

Choose a reason for hiding this comment

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

This should be using the type members (TypeAttribs and ValueAttribs)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense! Will change

@DamianReeves DamianReeves merged commit 41f0fc1 into finos:main Sep 5, 2023
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