Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Impossible to use default params in data #4

Open
AlexanderMac opened this issue May 13, 2019 · 0 comments
Open

Impossible to use default params in data #4

AlexanderMac opened this issue May 13, 2019 · 0 comments
Labels

Comments

@AlexanderMac
Copy link
Owner

In DataBuilder when you want to use default parameters that match the parsing parameters, builder throws error:

let dataBuilder = new DataBuilder({
  source: body,
  data: {
   params: []
  }
});
dataBuilder.parseArray({ name: 'params', itemType: 'custom', itemHandler: _parseParam });
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant