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

Create ZIO versions of the ZPure functions on MorphirRuntime #546

Open
edwardpeters opened this issue Mar 6, 2024 · 0 comments
Open

Create ZIO versions of the ZPure functions on MorphirRuntime #546

edwardpeters opened this issue Mar 6, 2024 · 0 comments

Comments

@edwardpeters
Copy link
Contributor

Feature Request

MorphirRuntime has a number of ZPure functions. In at least one upcoming case (unit testin'), these can only be called after the user has performed some side effecting operations to get the required inputs. It would be helpful to have ZIO versions as well to wrap this functionality, which is not something that fits into the model of ZPure

Description of Problem:

Very specifically, when calling runUnitTests, I should not have to provide the unit test framework IR myself; there should be at least one entry point that loads it for me.

Potential Solutions:

It should be fairly easy to add ZIO versions of these functions with support for file handling (esp. once cross-compiled file handling with js has been resolved)

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

No branches or pull requests

1 participant