Skip to content

Commit 320e3bf

Browse files
committed
Updating to graphql-java 17.x and fixing the class constructors
doc tweaks
1 parent fa2fd41 commit 320e3bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/graphql/scalars/ExtendedScalars.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ public class ExtendedScalars {
177177
* The scalar converts any passed in objects to Strings first and them matches it against the provided
178178
* scalars to ensure its an acceptable value.
179179
*
180+
* @param name the name of the scalar
181+
*
180182
* @return a builder of a regex scalar
181183
*/
182184
public static RegexScalar.Builder newRegexScalar(String name) {
@@ -188,7 +190,6 @@ public static RegexScalar.Builder newRegexScalar(String name) {
188190
* <p>
189191
* For example you may take a `String` scalar and alias it as `SocialMediaLink` if that helps introduce
190192
* more semantic meaning to your type system.
191-
* <p>
192193
* <pre>
193194
* {@code
194195
*
@@ -201,6 +202,8 @@ public static RegexScalar.Builder newRegexScalar(String name) {
201202
* <p>
202203
* A future version of the graphql specification may add this capability but in the meantime you can use this facility.
203204
*
205+
* @param name the name of the aliased scalar
206+
*
204207
* @return a builder of a aliased scalar
205208
*/
206209
public static AliasedScalar.Builder newAliasedScalar(String name) {

0 commit comments

Comments
 (0)