Closed endersoncosta closed 4 years ago
Merging #18 into master will increase coverage by
0.17%
. The diff coverage is98.66%
.
@@ Coverage Diff @@
## master #18 +/- ##
==========================================
+ Coverage 98.82% 99.00% +0.17%
==========================================
Files 3 3
Lines 85 100 +15
==========================================
+ Hits 84 99 +15
Misses 1 1
Impacted Files | Coverage Δ | |
---|---|---|
src/field.js | 96.42% <96.15%> (+0.77%) |
:arrow_up: |
src/baseEntity.js | 100.00% <100.00%> (ø) |
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 6a099f8...7c40970. Read the comment docs.
It's has been very hard to understand this diff, although doesn't look like it changed that much. Is it because of some lint? Could you check it?
It looks like a good commit though
Yes, I made this PR without lint fix and insufficient tests, I will made these changes today... Thanks!!
I used the lint of the project, but the diff are still complex...
is this array validation also valid for Scalar types (String, Number, etc)?
No, just with Entity ... But I will implement this, as soon as possible... In this moment the code is indeed incomplete...
I found a problem with the metadata. When I pass several fields with typed array, the prototypes somehow are merged, then the comparison of the type aways is wrong...
Now, the list accept Scalar types and Gotu Entities as well...
@endersoncosta could you fix the CI errors?
Done!
:tada: This PR is included in version 1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Implementation of the entity type validation on arrays.
Issue: #17