Closed roll closed 7 years ago
For now it's e.g.:
constructor(descriptor, profile = 'base', raiseInvalid = true, remoteProfiles = false, basePath = '')
but we could use:
constructor(descriptor, {profile = 'base', raiseInvalid = true, remoteProfiles = false, basePath = ''}) new Datapackage(descriptor, {remoteProfiles: true})
I'm in favor of using options arguments. This can be also implemented alongside the individual parameters.
Overview
For now it's e.g.:
but we could use: