Skip to content

Commit f443e5f

Browse files
committed
Fill up CHANGELOG
1 parent 85b2903 commit f443e5f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

juniper/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
1616
- Made `includeDeprecated` argument of `__Type.fields`, `__Type.enumValues`, `__Type.inputFields`, `__Field.args` and `__Directive.args` fields non-`Null`. ([#1348], [graphql/graphql-spec#1142])
1717
- Made `@deprecated(reason:)` argument non-`Null`. ([#1348], [graphql/graphql-spec#1040])
1818
- Added `description` field to `ast::Operation`, `ast::Fragment` and `ast::VariableDefinition`. ([#1349], [graphql/graphql-spec#1170])
19+
- Renamed `ast::VariableDefinitions` to `ast::VariablesDefinition`: ([#1353], [graphql/graphql-spec#916])
20+
- Renamed `ast::Operation::variable_definitions` field to `variables_definition`.
1921
- Changed `ScalarToken::String` to contain raw quoted and escaped `StringLiteral` (was unquoted but escaped string before). ([#1349])
2022
- Added `LexerError::UnterminatedBlockString` variant. ([#1349])
2123

@@ -51,11 +53,13 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
5153
[#1347]: /../../issues/1347
5254
[#1348]: /../../pull/1348
5355
[#1349]: /../../pull/1349
56+
[#1353]: /../../pull/1353
5457
[graphql/graphql-spec#525]: https://github.com/graphql/graphql-spec/pull/525
5558
[graphql/graphql-spec#687]: https://github.com/graphql/graphql-spec/issues/687
5659
[graphql/graphql-spec#805]: https://github.com/graphql/graphql-spec/pull/805
5760
[graphql/graphql-spec#825]: https://github.com/graphql/graphql-spec/pull/825
5861
[graphql/graphql-spec#849]: https://github.com/graphql/graphql-spec/pull/849
62+
[graphql/graphql-spec#916]: https://github.com/graphql/graphql-spec/pull/916
5963
[graphql/graphql-spec#1040]: https://github.com/graphql/graphql-spec/pull/1040
6064
[graphql/graphql-spec#1142]: https://github.com/graphql/graphql-spec/pull/1142
6165
[graphql/graphql-spec#1170]: https://github.com/graphql/graphql-spec/pull/1170

juniper/src/ast.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,12 @@ pub struct VariablesDefinition<'a, S> {
323323
pub items: Vec<(Spanning<&'a str>, VariableDefinition<'a, S>)>,
324324
}
325325

326+
impl<'a, S> VariablesDefinition<'a, S> {
327+
pub fn iter(&self) -> slice::Iter<'_, (Spanning<&'a str>, VariableDefinition<'a, S>)> {
328+
self.items.iter()
329+
}
330+
}
331+
326332
#[derive(Clone, Debug, PartialEq)]
327333
pub struct Field<'a, S> {
328334
pub alias: Option<Spanning<&'a str>>,
@@ -824,12 +830,6 @@ impl<'a, S> Arguments<'a, S> {
824830
}
825831
}
826832

827-
impl<'a, S> VariablesDefinition<'a, S> {
828-
pub fn iter(&self) -> slice::Iter<'_, (Spanning<&'a str>, VariableDefinition<'a, S>)> {
829-
self.items.iter()
830-
}
831-
}
832-
833833
#[cfg(test)]
834834
mod spec_input_value_fmt {
835835
use crate::graphql;

0 commit comments

Comments
 (0)