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

Required properties nested inside optional properties still required in strict mode #58

Closed
thewilkybarkid opened this issue Jan 22, 2020 · 1 comment

Comments

@thewilkybarkid
Copy link

We run in strict mode, but it seems that properties are still required even if their optional parent isn't:

With Property hydra:member {
  Expect Type schema:Article
  Expect Property schema:name
}

fails if hydra:member is not present (Strict mode requires that all steps are executed), but they should only be tested if it is there. (Skipping missing property http://www.w3.org/ns/hydra/core#member happens correctly.)

(Refs https://httpapis.slack.com/archives/C1JP575EX/p1579613791005300).

@tpluscode tpluscode transferred this issue from hypermedia-app/hypertest Jan 23, 2020
@tpluscode
Copy link
Member

Deployed as docker image hydrofoil/hypertest:_0.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants