-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Getter #313
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Instead todo (6 loops) : (Order : default, value (=.load or .loadFile), env, arg, set (= .set)) // loading schema
// .load or .loadFile
I will do (2 loops) : // loading schema
// .load or .loadFile
_cvtActualGetter will be usefull for #260 |
This was referenced Dec 7, 2019
Closed
I referenced some issue to fix it in my PR (to keep them in my head). |
The actual prototype is : addGetter(property, getter, useCoerce, usedOnlyOnce, rewrite)
|
This was referenced Dec 8, 2019
Closed
This was referenced Jan 1, 2020
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should allow to set custom getter to add more choice between
env
,arg
and.load(
.Example: Custom Getter for file
Custom priority level
And we should allow to set custom priority level : https://github.com/mozilla/node-convict/blob/master/lib/convict.js#L600-L601
The text was updated successfully, but these errors were encountered: