Hello Gabriel,

Thanks for reporting this. That sounds unfortunate. Could you provide a
piece of sample code showing how you wanted to use Result with yielding?

Best Regards,
Lukas

2015-03-31 14:32 GMT+02:00 Gabriel Forró <[email protected]>:

> Hello,
>
> I just want to share an unexpected feature of the org.jooq.Result type in
> for comprehensions in Scala:
>
> Recently I have started to use jooq in a scala project. The 'map' method
> in the org.jooq.Result prevents to apply yielding for Result type in for
> comprehensions. The reason is the 'map' method name, as it has the same
> name as the Scala's FilterMonadic and therefore the implicit conversion is
> not applied to the Result and the yield's return type is not the correct
> one.
>
> Best regards,
>
> Gabriel
>
>  --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to