Skip to content

Migrate UnreferencedShapeValidator#319

Merged
srchase merged 10 commits intosmithy-lang:0.10from
srchase:unbound-entities
Mar 20, 2020
Merged

Migrate UnreferencedShapeValidator#319
srchase merged 10 commits intosmithy-lang:0.10from
srchase:unbound-entities

Conversation

@srchase
Copy link
Copy Markdown
Contributor

@srchase srchase commented Mar 17, 2020

Implements #241 by migrating the existing UnreferencedShapeValidator from smithy-linters to smithy-model so that the validation is always run against the model.

A check is added so that only models with services will emit note validation events when a shape is not referenced within the model.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@srchase srchase changed the title Emits warnings for unbound operations and resources Migrate UnreferencedShapeValidator Mar 19, 2020
@srchase srchase requested review from JordonPhillips and removed request for mtdowling March 19, 2020 22:52
@JordonPhillips
Copy link
Copy Markdown
Contributor

probably want to squash some of those commits

@srchase srchase merged commit 254e0aa into smithy-lang:0.10 Mar 20, 2020
@srchase srchase deleted the unbound-entities branch March 20, 2020 20:38
JordonPhillips pushed a commit to JordonPhillips/smithy that referenced this pull request Apr 22, 2020
* Migrate linter to validator

* Add references on test models

* Update linters test models
@kstich kstich mentioned this pull request Apr 23, 2020
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