Skip to content

Conversation

@vitaly-t
Copy link
Contributor

@vitaly-t vitaly-t commented Dec 27, 2017

Removing error-analysis conditions that are irrelevant, i.e. since we are only returning the batch, the error will always have data set to the size of the input array, as per the library's API.

In addition, removed the use of the default separator ',' for Array.join method everywhere.

Removing error-analysis conditions that are irrelevant, i.e. since we are only returning the batch, the error will always have `data` set to the size of the input array, as per [the library's API](http://vitaly-t.github.io/spex/errors.BatchError.html).
removing the use of the default separator.
@codecov
Copy link

codecov bot commented Dec 28, 2017

Codecov Report

Merging #4465 into master will decrease coverage by 0.02%.
The diff coverage is 92.3%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4465      +/-   ##
==========================================
- Coverage   92.72%   92.69%   -0.03%     
==========================================
  Files         118      118              
  Lines        8356     8356              
==========================================
- Hits         7748     7746       -2     
- Misses        608      610       +2
Impacted Files Coverage Δ
...dapters/Storage/Postgres/PostgresStorageAdapter.js 97.05% <92.3%> (-0.11%) ⬇️
src/RestWrite.js 93.28% <0%> (-0.19%) ⬇️

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 7bb9c6d...3a89b3c. Read the comment docs.

@vitaly-t
Copy link
Contributor Author

@flovilmart should be good to go? 😉

@flovilmart
Copy link
Contributor

It looks good! Good thinking with the default join :)

@vitaly-t vitaly-t merged commit bb05330 into master Dec 28, 2017
@vitaly-t vitaly-t deleted the vitaly-t-patch-1 branch December 28, 2017 01:43
flovilmart pushed a commit that referenced this pull request Dec 29, 2017
* refactoring method createClass

Removing error-analysis conditions that are irrelevant, i.e. since we are only returning the batch, the error will always have `data` set to the size of the input array, as per [the library's API](http://vitaly-t.github.io/spex/errors.BatchError.html).

* Update PostgresStorageAdapter.js

removing the use of the default separator.
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* refactoring method createClass

Removing error-analysis conditions that are irrelevant, i.e. since we are only returning the batch, the error will always have `data` set to the size of the input array, as per [the library's API](http://vitaly-t.github.io/spex/errors.BatchError.html).

* Update PostgresStorageAdapter.js

removing the use of the default separator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants