sam-goodwin / eventual

Build scalable and durable micro-services with APIs, Messaging and Workflows
https://docs.eventual.ai
MIT License
174 stars 4 forks source link

fix: do not import @eventual/core/internal in @eventual/client #396

Closed sam-goodwin closed 1 year ago

sam-goodwin commented 1 year ago

Removes the async_hooks module from the import path of the client

It is a trade off. Hard code "_system" value in the client to remove the dependency.

This is acceptable because the client needs to be usable everywhere and this value cannot change without breaking infrastructure.