Skip to content

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Feb 16, 2019

Fixes #28019
Fixes #28021

Eliminates dependencies on json_schema and dart2_constant from flutter_tool

cli_util usage was removed in #16979 but just never updated pubspec.

@dnfield dnfield added c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels. labels Feb 16, 2019
@dnfield dnfield changed the title remove json_schema dep Remove json_schema and cli_util deps from flutter_tool Feb 16, 2019
@jonahwilliams
Copy link
Contributor

If we already have some test coverage on the validation? If not it should be straightforward to add some valid/invalid tests

@dnfield
Copy link
Contributor Author

dnfield commented Feb 16, 2019

There are some tests that hit this but can add more.

@jonahwilliams
Copy link
Contributor

If we cover basic validation then I am ok with it as is. If the tests use the filesystem though this might be a good chance to replace it with a faster unit test

@dnfield
Copy link
Contributor Author

dnfield commented Feb 16, 2019

Nah these all pass in strings and test the strings. Some of them test memoryFS to make sure it works with this too.

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@dnfield dnfield merged commit 4ed096b into flutter:master Feb 20, 2019
@dnfield dnfield deleted the remove_json_schema branch February 20, 2019 23:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get rid of dependency on json_schema from tool Remove dependency on json_schema from flutter_tools

3 participants