-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(formats): output references handles interpoloated references (#590)
fixes #589 * Organized formatHelpers into their own files * Renamed getReference to getReferences and changed it to return an array of references for cases when there are multiple references in a single value. * Renamed sortAllProperties format helper to sortByReference to be more clear and made changes to support interpolated values and to not mutate the allProperties array. This caused some of the sorting changes in some of the snapshots. * Added createPropertyFormatter format helper which will return a formatting function based on some configuration to be used in formats when iterating over allProperties. The formattedVariables format helper uses this function as well as several formats to remove duplicate code. * Updated some formats to use the new format helpers * Updated the flutter/dart.class to use the sorting when using outputReferences
- Loading branch information
1 parent
75e9801
commit cc595ca
Showing
54 changed files
with
4,060 additions
and
9,754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.