Nothing
# load_all(); testthat::test_file(file.path("tests", "testthat", "test-validation-5.5-values.R")); # nolint
context("validation-5.5-values")
source(testthat::test_path("validate_helper.R"))
test_that("5.5.1 - Input Object Field Uniqueness", {
"
schema {
query: SearchRoot
}
input SingleArgInput {
arg: Boolean
}
type SearchRoot {
field(arg: SingleArgInput): Int
}
" ->
schema_txt
"
{
field(arg: { arg: true })
}
" %>%
expect_r6(schema = schema_txt)
"
{
field(arg: { arg: true, arg: false })
}
" %>%
expect_err("must have unique field names", schema = schema_txt)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.