apollo-encoder@0.2.2
·
786 commits
to main
since this release
0.2.2 - 2022-02-28
BREAKING
-
Rename
InputValueDefintoInputValueDefinitionfor consistency - bnjjj, [pull/182] -
Rename
input_object_method intoinput_objectonDocument- bnjjj, [pull/182]
Fixes
-
Remove leading and ending
"inBlockStringCharacterencoding only when it starts and end with a"- bnjjj, [pull/182]
This ensures that a StringValue of type BlockStringCharacter, like the one in
the test example below, does not getting encoded with an additional"ending
up with""""leading set of characters.let desc = StringValue::Reason { source: Some("One of my cat is called:\r \"Mozart\"".to_string()), }; assert_eq!( desc.to_string(), String::from("\n \"\"\"\n One of my cat is called:\r \"Mozart\"\n \"\"\"\n ") ); );