Skip to content

Should have a getOrCreate helper method #84

Description

@thgreasi

This is similar to the upsert helper method. In this case getOrCreate would POST the body and if a 409 unique constrain error is thrown it will try to GET the resource.

See: https://www.flowdock.com/app/rulemotion/resin-tech/threads/9lYeLTnspE03IDeC40ovlB9iTm0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions