Skip to content

Consider data-default for PostMessage, PostCalls, etc. #32

@markandrus

Description

@markandrus

A number of data types for POSTing to the /Message.json resource, the /Calls.json resource, etc., can and will have a number of optional parameters. Investigate using data-default for such cases.

Open question: can we easily write Default instances that do require some values? e.g.

instance Default (Text -> Text -> URI -> PostCalls) where
   def to from url = PostCalls to from url Nothing Nothing Nothing -- etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions