#what strategy is used which generate Opts for parameter passed to constructor or function?

1 messages ยท Page 1 of 1 (latest)

wind haven
#

Hello Team ๐Ÿ‘‹

I have module X which has constructor parameter, while refering this in submodule which has dependency of parent, it creates XOpts type but it does not hold all parameter, only few and rest of parameters are part of function call

I am looking for a way to provide all paramter using XOpts Type to constructor

#

what strategy is used which generate Opts for parameter passed to construction or function?

#

what strategy is used which generate Opts for parameter passed to constructor or function?

slate geode
#

Hello, it sounds like what you want to do is make all arguments to your constructor +optional