Skip to content
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

Faker parameter resolution: Allow to resolve nested parameter definition #18

Open
shulard opened this issue Nov 25, 2022 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@shulard
Copy link
Member

shulard commented Nov 25, 2022

Describe the bug

When you define a "faker resolvable" property, you can't have more than one level of faker resolution.

For example with somethink link that: '<storageIdFromAet(<dicomAet("WS-PARIS")>)>', dicomAet will not be called.

To Reproduce

A sample YAML configuration to generate a request with that kind of issue:

testThatCase:
  uri:
    base: /api/uri?parameter={storage}
    parameters:
      '{storage}': '<storageIdFromAet(<dicomAet("WS-PARIS")>)>'

Expected behavior

We might allow to resolve nested faker definition.

@shulard shulard added bug Something isn't working good first issue Good for newcomers labels Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant