Yaroslav

Results 62 comments of Yaroslav

One import disadvantage of `array: true` it that it won't support `type: [T, [T]]` input constraints usecase. In gerenal `[T]` seems to be more generic ADT-like approach

> One way we could accept more types would be to lean on another constraints/validation gem. Do you have examples of such gems in mind?

Hi @isuru89! I wonder if there is some progress on this feature? Also, shouldn't callbacks bodies support templating? I believe It would be extremely useful to be able to generate...

In general, I think it might make sense to add these methods in `ServiceActor::Result`. BTW @afuno what's the use-case for calling public_send/object_id/instance_variables on service result?

I'll open a PR soon if you don't mind @sunny @afuno Are there any other problematic methods generating warnings in your codebase?

> I am guessing that those introspection methods are called by test-tooling like RSpec to build test doubles. We're using RSpec mocking actively but didn't encounter any warnings. But I'm...

@afuno Could you please run your suite against https://github.com/sunny/actor/pull/148?

In general, if that's not a bug, that means that you are trying to invoke some method on `ServiceActor::Result` which was not defined as `output` in actor definition