Repository navigation
Validate default_framing; an unknown name is an error - #84
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #81.
default_framingincomline.tomlwas passed to the generators unchecked, and both fell back to datagram for a name they didn't recognise. A typo such asjsonrcpgenerated datagram with exit code 0 and only surfaced as a refused handshake.Target resolution now folds the value onto
@framing's canonical spelling with core'scanonical_value(sojson-rpcreaches the generator asjsonrpc), and an unknown one is an error naming the accepted values, with a "did you mean" for a near miss:The generators refuse an unknown name too (comline-rust and comline-typescript PRs), since the CLI isn't their only caller.
default_framingis later moving toconfig.idp(core#117); this is the short-term fix.