Skip to content

Conversation

@ardeois
Copy link
Owner

@ardeois ardeois commented Sep 24, 2020

Some casual.xxx generators can accept arguments.
To give more flexibility, the scalars config now accepts:

  • a string for retrocompatibility
  • an object {generator: string, arguments: any[]} to pass arguments to the casual function

@ardeois ardeois self-assigned this Sep 24, 2020
@ardeois ardeois force-pushed the feat/custom-scalar-args branch from 68d961d to 300929c Compare September 24, 2020 20:24
Some `casual.xxx` generators can accept arguments.
To give more flexibility, the `scalars` config now accepts:
- a string for retrocompatibility
- an object `{generator: string, arguments: any[]}` to pass arguments to the casual function
@ardeois ardeois force-pushed the feat/custom-scalar-args branch from 300929c to ea9694e Compare September 24, 2020 20:34
@ardeois ardeois marked this pull request as ready for review September 24, 2020 20:36
@ardeois ardeois added the minor Increment the minor version when merged label Sep 24, 2020
@ardeois ardeois merged commit 7dcc9cf into master Sep 24, 2020
@ardeois ardeois deleted the feat/custom-scalar-args branch September 24, 2020 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants