Skip to content

test(cli): empty-schema -> incomplete-schemas - #15059

Merged
jkomyno merged 9 commits into
mainfrom
feat/incomplete-schemas
Sep 1, 2022
Merged

jkomyno merged 9 commits into
mainfrom
feat/incomplete-schemas

Conversation

@jkomyno

@jkomyno jkomyno commented Aug 29, 2022 •

Copy link
Copy Markdown
Contributor

Brings progress to #7186.

  • datasource-block-url-env-unset tests: the schema has a datasource db block with an undefined env url
  • datasource-block-no-url tests: the schema has a datasource db block with no url field
  • empty-schemas tests: the schema is completely empty, no models, no blocks
  • error messages are normalized across library/binary engines

@jkomyno
jkomyno marked this pull request as ready for review August 29, 2022 11:59
@jkomyno
jkomyno requested a review from Jolg42 as a code owner August 29, 2022 11:59
@jkomyno
jkomyno requested review from a team and SevInf and removed request for a team August 29, 2022 11:59

@Jolg42 Jolg42 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

It's not easy to see the differences between the commands (needs to read the full file and take notes)
Maybe having some const would help for the ones that repeat 🤔 (instead of snapshot)

@jkomyno

jkomyno commented Aug 30, 2022

Copy link
Copy Markdown
Contributor Author

Looks good.

It's not easy to see the differences between the commands (needs to read the full file and take notes) Maybe having some const would help for the ones that repeat 🤔 (instead of snapshot)

I was thinking something among those lines as well, but I was thinking of putting a summary in the original issue directly. Maybe it's clearer if I do both things

@Jolg42 Jolg42 added this to the 4.4.0 milestone Aug 30, 2022
@jkomyno
jkomyno merged commit 8110f2c into main Sep 1, 2022
@jkomyno
jkomyno deleted the feat/incomplete-schemas branch September 1, 2022 08:18
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

Successfully merging this pull request may close these issues.

2 participants