Skip to content

API changes (BREAKING) #99

Open
Open
@geraintluff

Description

@geraintluff

Implemented in separate branches, to avoid ruining everybody's code.

  • action(data, context, actionName, ...) - add data argument to match other methods
  • Remove data.indices()/data.index()/data.indexValue(), in favour of data.item() etc.
  • data.type() instead of data.basicType()
  • Remove schema.extendSchemas()
  • Anything called register???Listener(callback) probable replaced with on???(callback)
  • data.subPath() -> data.path() (with Relative JSON Pointer support)
  • data.get() and data.set() used to replace data.value(), and data.setValue()

It's worth doing a full review of the API, to spot anything else that is useless or inelegant.

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