Skip to content

Conversation

@scottinet
Copy link
Contributor

What does this PR do?

The API route collection:create can be used with a mapping since Kuzzle 1.3.0, allowing the creation of a collection directly with a mapping specified: https://docs.kuzzle.io/api-documentation/controller-collection/create

This feature is missing from SDKs, and this PR fixes that for the version 6 of this SDK

Other changes

  • Dependencies update

Boyscout

  • This package's version number in package.json and package-lock.jon files has been changed to 6.0.0 (prev. value: 5.0.11)

@codecov-io
Copy link

codecov-io commented Jul 24, 2018

Codecov Report

Merging #301 into 6.x will increase coverage by 2.78%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              6.x    #301      +/-   ##
=========================================
+ Coverage   94.72%   97.5%   +2.78%     
=========================================
  Files          28      28              
  Lines        1328    1325       -3     
=========================================
+ Hits         1258    1292      +34     
+ Misses         70      33      -37
Impacted Files Coverage Δ
src/controllers/collection.js 100% <ø> (ø) ⬆️
src/networkWrapper/protocols/abstract/common.js 94.94% <0%> (+36.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 256703f...064a1e6. Read the comment docs.

@Aschen Aschen merged commit b56ed5e into 6.x Jul 25, 2018
@Aschen Aschen deleted the 6-collection-create-accept-mappings branch July 25, 2018 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants