Skip to content

Document SDK methods (not wrapping API routes) properly #27

@eskombro

Description

@eskombro

CONTEXT

ISSUE

Methods implemented by the SDKs are not documented anywhere at this moment. The only way a user can learn about these methods (waitForPendingUpdate, getOrCreateIndex, ...) is going through the source code, reading the methods or tests.

SOLUTION

Those methods that are implemented (or supposed to be implemented) in every SDK should be documented somewhere, not only so the user can understand how they work, but even to let him discover them. There are two main possibilities:

Option 1

In the docs, we have a dedicated page for SDKs. We can document those methods there once, and add samples for each language.

Option 2

In every readme, we can explain them and give an exmaple

Option 3 (1 + 2)

We document them in the official docs, and in every readme we write a sentence saying that those methods exist, and redirect the user to the official docs.

I would like to have your opinion on this! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions