longshotlabs / simpl-schema

A JavaScript schema validation package that supports direct validation of MongoDB update modifier objects
https://www.npmjs.com/package/simpl-schema
MIT License
560 stars 115 forks source link

Removed warning from already supported option #490

Closed mic1780 closed 9 months ago

mic1780 commented 10 months ago

the option defaultLabel is already a supported option for the SimpleSchema.constructorOptionDefaults function. This code change removes the warning associated with using the defaultLabel option in said function

one example location where defaultLabel is supported as a default option: https://github.com/longshotlabs/simpl-schema/blob/7c47b55494646cd2d816ea00e8c79e173e8d2456/src/SimpleSchema.ts#L1318

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 3.4.2 :tada:

The release is available on:

If this makes you happy, please consider becoming a sponsor.

Your semantic-release bot :package::rocket: