Skip to content

Remove all types from the code-samples #257

@bidoubiwa

Description

@bidoubiwa

Most of the example in code-samples are showcasing the response type each function is returning:

For example:

    client.index("movies").updateSynonyms(synonyms) { (result: Result<Task, Swift.Error>) in ... }

To avoid too much complexity and unnecessary long examples, the types should be removed.
As per this conversation

The example above would become:

    client.index("movies").updateSynonyms(synonyms) { result in ... }

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