Skip to content

Support for conditional chaining #147

Closed
@asaf

Description

@asaf

I have deep objects which may sometimes have nil on the chain.

In those cases, without conditional nil operator it becomes very difficult to write expressions.

It could be great to support conditional chaining using question mark such:

https://play.golang.org/p/O70145vAj0-

Best,
Asaf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions