Make GraphQL parameters strict following Absinthe 1.7 validating
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -50,7 +50,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
|
||||
"""
|
||||
|
||||
@get_resource """
|
||||
query GetResource($path: String, $username: String) {
|
||||
query GetResource($path: String!, $username: String!) {
|
||||
resource(path: $path, username: $username) {
|
||||
id,
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user