Commit c3f1dee
committed
Update usage of
We are updating the `shape` crate before introducing any abstract
types-related changes, because this update benefits all connect spec
versions, while still allowing us to preserve backwards/forwards
compatibility for older versions (connect/v0.3 and earlier). It would be
a shame to have to maintain two slightly different `shape` APIs (hogging
the same cargo package name) in order to keep connect/v0.3 and earlier
working as before.
One of the goals of this commit is to show how limited/reasonable the
updates are, because the new functionality coming in [email protected] does
not radically alter the behavior of the library (at least not in the
ways we were previously using it).
Some notable (expected) changes: we've started using a
`shape.locations()` method instead of accessing/mutating the
`shape.locations` vector directly, the new shape name tracking system
allows better error messages, and shape pretty-printing may now include
newlines for readability.shape crate for 0.7.0-preview.1+ releases.1 parent 9df22d9 commit c3f1dee
File tree
36 files changed
+721
-322
lines changed- apollo-federation
- src/connectors
- json_selection
- methods/public
- validation
- snapshots
- test_data/uri_templates
- tests/dhat_profiling
36 files changed
+721
-322
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6299 | 6299 | | |
6300 | 6300 | | |
6301 | 6301 | | |
6302 | | - | |
| 6302 | + | |
6303 | 6303 | | |
6304 | | - | |
| 6304 | + | |
6305 | 6305 | | |
6306 | 6306 | | |
6307 | 6307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments