Ivan Tanev
Ivan Tanev
The workaround in https://github.com/davidkpiano/xstate/issues/2127 can be used to modify large context objects, and truncate the data that is not relevant to the inspector.
@engineersamuel ```typescript function stringifyToWarning(obj: T): T { if (process.env.NODE_ENV === 'development' && typeof obj === 'object') { ;(obj as any)['toJSON'] = function () { return 'Context too large for inspector'...
Yeah, that was my point in [my previous comment](https://github.com/davidkpiano/xstate/issues/2048#issuecomment-829944049) - to do a `toJSON()` implementation that is specific to a given context, and simplifies it to only the most important...
@engineersamuel Assign doesn't override this. I've tested it. I don't think XState should provide a function here, given that it is perfectly solvable in userland. What XState might choose to...
you can apply a similar fix to send event objects: ```typescript function shortStringify(obj: T): T { if (process.env.NODE_ENV === 'development' && typeof obj === 'object') { ;(obj as any)['toJSON'] =...
@jaredpalmer I've created a repository to reproduce the issue: https://github.com/VanTanev/turborepo-reproduce-460 I would expect when running in parallel, the leafs are run in parallel, but they still honor their build deps;...
My understanding is that this currently works /fine/. You must not pass `--parallel` flag, because that breaks deps, but by default turbo runs with 10 concurrent tasks, and if you...
`dev` cannot depend on a process that never exits, but it can depend on eg `build` of another package
Will this see `createModel()` support?
> Normally you would call `context.actorRef.stop()` in an action, right? Unfortunately, no. The proper way to stop a spawned child is this: ```typescript { on: { STOP: actions.pure((ctx) => {...