File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/graphql/scalars Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ public class ExtendedScalars {
177
177
* The scalar converts any passed in objects to Strings first and them matches it against the provided
178
178
* scalars to ensure its an acceptable value.
179
179
*
180
+ * @param name the name of the scalar
181
+ *
180
182
* @return a builder of a regex scalar
181
183
*/
182
184
public static RegexScalar .Builder newRegexScalar (String name ) {
@@ -188,7 +190,6 @@ public static RegexScalar.Builder newRegexScalar(String name) {
188
190
* <p>
189
191
* For example you may take a `String` scalar and alias it as `SocialMediaLink` if that helps introduce
190
192
* more semantic meaning to your type system.
191
- * <p>
192
193
* <pre>
193
194
* {@code
194
195
*
@@ -201,6 +202,8 @@ public static RegexScalar.Builder newRegexScalar(String name) {
201
202
* <p>
202
203
* A future version of the graphql specification may add this capability but in the meantime you can use this facility.
203
204
*
205
+ * @param name the name of the aliased scalar
206
+ *
204
207
* @return a builder of a aliased scalar
205
208
*/
206
209
public static AliasedScalar .Builder newAliasedScalar (String name ) {
You can’t perform that action at this time.
0 commit comments