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 {
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 ) {
You can’t perform that action at this time.
0 commit comments