Skip to content

Provide meaningful response message for void methods #25

@jpechane

Description

@jpechane

Now the invocation returns

{
  "result" : "null"
}

There are three ways how to resolve the issue

  • return nothing
  • make result optional and return empty JSON object
  • return more complex return message like
{
  "status" : "ok",
  "result" : "....",
}

or

{
  "status" : "ok",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions