Skip to content

[API]Why are there so many APIs which have a WithPatches suffix #204

@lightsprint09

Description

@lightsprint09

Why are there so many APIs which have a WithPatches suffix. Would it for example not enough to have one merge which returns [Patche] by default. Has this some performance reasons?

Example:

@discardableResult
 public func merge(other: Document) throws -> [Patch] {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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