Options refactoring

Issue #2 closed
Ales Kurecka repo owner created an issue

Some options are not well designed:

  • UbjsonDecoderOptions.useTypedArrays has a default value true. This is nonsense. Although it is a useful feature, this must be opt-in, not opt-out.
  • Rename onlyTypedArray in UbjsonEncoderOptions.optimizeArrays to grammatically more correct onlyTypedArrays.

[BREAKING CHANGE]

Milestone: v1.0.0

Comments (2)

  1. Ales Kurecka reporter

    Options refactoring

    UbjsonDecoderOptions.useTypedArrays defaults to false. UbjsonEncoderOptions.optimizeArrays rename 'onlyTypedArray' to 'onlyTypedArrays'.

    Closes #2.

    → <<cset b98877f01eed>>

  2. Log in to comment