Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn on invalid wrapped arguments #3

Merged
Merged
Changes from 1 commit
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
d9e8017
Add documentation for batch/item syntax in dataloader
cheerfulstoic May 2, 2021
1dd89ce
Document Absinthe.Schema.Notation.import_sdl/1
Cantido Sep 17, 2021
9cf9cf8
Update typespec for resolver_t
sega-yarkin Nov 2, 2021
5bd9587
Remove unused Absinthe.Phase.Validation module
maartenvanvliet Jan 19, 2022
94762dc
Remove unused Absinthe.Phase.Schema.Validation module
maartenvanvliet Jan 19, 2022
648c4bf
Remove unused Type.Fetch module
maartenvanvliet Jan 19, 2022
5ca9fff
Remove unused Absinthe.Type.BuiltIns.Scalars.Utils macro module
maartenvanvliet Jan 19, 2022
449d5e0
Add example of enum usage with field, per Slack discussion
pdgonzalez872 Jan 22, 2022
0482fe3
Test on otp 25
maartenvanvliet Aug 26, 2022
f64dd38
Fix SDL type definition rendering order
maartenvanvliet Sep 14, 2022
89fa88a
Remove Elixir 1.10 support
maartenvanvliet Sep 14, 2022
bdf96dc
Ensure an object has unique fields
maartenvanvliet Oct 3, 2022
b3b899d
Update changelog
maartenvanvliet Oct 3, 2022
85c5138
fix broken links
tofran Oct 9, 2022
e4d83b6
upgraded http links to https
tofran Oct 9, 2022
c652ae8
fix doc: removed double spaces
tofran Oct 10, 2022
d5af258
upgrade timex documentation to use the new syntax
tofran Oct 10, 2022
6975b45
removed duplicate module from documentation index
tofran Oct 10, 2022
70bd17d
Allow `Registry` compression to be configured by users
c-brenn Oct 13, 2022
f617cf4
Improve Absinthe.Type.Scalar documentation
tofran Oct 18, 2022
982dbfb
Merge pull request #1202 from tofran/fix/broken-links-and-doc-improve…
benwilson512 Oct 18, 2022
c83152c
Fix const parsing of empty lists
maartenvanvliet Nov 8, 2022
d456298
Fix bookkeeping of Resolution path when resolving
marcinkoziej Nov 16, 2022
161ed3c
fix Our First Query screenshot
millllllz Nov 17, 2022
ac9548a
Fix formatting with mix format
marcinkoziej Nov 17, 2022
703c23f
Add test for issue #1149
marcinkoziej Nov 17, 2022
0f20ed9
Enforce a configurable limit on tokens in a GraphQL document to prote…
Nov 23, 2022
918a4ea
Set the default token limit to 15_000, matching graphql-java's implem…
Nov 23, 2022
9e5c5ae
Include token limits in the documentation
Nov 23, 2022
75612b5
Fix limit typo in docs
Nov 23, 2022
0a32426
Avoid these options being passed through as a map
Nov 24, 2022
4824b6d
Tweak docs
Nov 24, 2022
2b6e7ea
Merge pull request #1209 from JasonMiller/patch-1
benwilson512 Nov 28, 2022
81622a3
Merge pull request #1205 from maartenvanvliet/fix-const-parsing-empty…
benwilson512 Nov 28, 2022
759c938
Merge pull request #1200 from maartenvanvliet/improve_unique_field_va…
benwilson512 Nov 28, 2022
972d7c8
Merge pull request #1208 from marcinkoziej/fix/1149
benwilson512 Nov 28, 2022
92f5960
Fix typo with quotes
maartenvanvliet Sep 7, 2022
9c269dc
Bring default_name in line with other usages
maartenvanvliet Sep 7, 2022
e0bd25a
Add specifiedBy type system directive as per spec
maartenvanvliet Sep 7, 2022
a917e3d
Pass directive names through language adapter
maartenvanvliet Sep 7, 2022
f9501eb
Test for specifiedBy presence in introspection
maartenvanvliet Sep 7, 2022
9b0cb1c
Update changelog
maartenvanvliet Sep 7, 2022
d4a7d9c
Fix typos in docs
stellanor Nov 30, 2022
58805fa
mix format
Nov 30, 2022
a6f523c
Merge branch 'token-limit' of github.com:stellanor/absinthe into toke…
Nov 30, 2022
f40f68d
fixup! Allow `Registry` compression to be configured by users
c-brenn Dec 1, 2022
d564d82
Merge pull request #1201 from c-brenn/feature/allow-compression-to-be…
benwilson512 Dec 1, 2022
c8d6642
Implement the token enforcement using a short-circuiting approach in …
Dec 3, 2022
594f4f3
I may be wrong but it seems to me like shouldn't be here since it's in
Dec 3, 2022
0ff0fcd
Pass resolution to dataloader callback
antonsatin Dec 4, 2022
2e42948
Merge pull request #1211 from antonsatin/feature/support-resolution-i…
benwilson512 Dec 4, 2022
6aa233b
changelog update
benwilson512 Dec 4, 2022
f3cec5a
update to setup-beam for ci
benwilson512 Dec 4, 2022
8b13357
try an older ubuntu for broader OTP support
benwilson512 Dec 4, 2022
7aa8ec7
Merge pull request #1212 from absinthe-graphql/fix-ci
benwilson512 Dec 5, 2022
4a59847
allow changing result phase for subscriptions
MortadaAK Dec 6, 2022
46675ec
Merge branch 'master' of https://github.com/absinthe-graphql/absinthe…
Dec 6, 2022
32db847
Place extra errors in extensions field
maartenvanvliet Dec 20, 2022
148d9ff
Update introspection.md
pavelloz Dec 20, 2022
16cbc8d
Merge pull request #1216 from pavelloz/patch-1
benwilson512 Dec 20, 2022
0995e43
it works
Dec 28, 2022
8a591af
comment out inspects
Dec 28, 2022
b4c35ef
one more to comment out
Dec 28, 2022
1bbe533
perf test
Dec 29, 2022
aa37b10
Add some code comments for the review process
Dec 29, 2022
571d537
Comments and notes from review
Dec 29, 2022
b7baf0e
Refactor for clarity
Dec 30, 2022
2b58b83
More refactoring for clarity
Dec 30, 2022
730c84c
Refactor slightly per code review feedback. Also optimized result acc…
Jan 4, 2023
2d0a0c0
formalize test
Jan 5, 2023
f3d954f
Comment new lexer perf test
Jan 5, 2023
d6fc14a
small stylistic tweak to be symmetrical with the nearby function head
Jan 5, 2023
c1a8377
Add pipeline modifier option to Absinthe.run
bernardd Jan 12, 2023
082025d
Use Enum.map_reduce, it's a little cleaner
Jan 12, 2023
3c3e5ea
Fix a bug the compiler caught
Jan 23, 2023
22fa9e9
In light of PR #1220, the default limit should now be infinity
Jan 23, 2023
a7d6ba3
Merge branch 'master' of https://github.com/absinthe-graphql/absinthe…
Jan 23, 2023
9576687
Propagate errors if a non-null list of non-null elements contains a null
jueberschlag Jan 24, 2023
5308d4a
Merge pull request #1220 from stellanor/stellanor-PR-optimize-lexer-c…
benwilson512 Feb 1, 2023
b6e9d28
Merge pull request #1221 from circles-learning-labs/run_pipeline_config
benwilson512 Feb 1, 2023
9864094
bump to 1.7.1
benwilson512 Feb 1, 2023
1562385
Update CHANGELOG.md
benwilson512 Feb 7, 2023
c84b8ad
Support propagating OTel context
rewritten Feb 8, 2023
57a87c2
Type extensions objects can be empty
maartenvanvliet Feb 10, 2023
7665edc
Update changelog
maartenvanvliet Feb 10, 2023
8d571bf
Merge pull request #1228 from maartenvanvliet/type-extensions-objects…
benwilson512 Feb 10, 2023
e0faf8c
Validate input object not being an Enum
rewritten Feb 17, 2023
f47cc7f
Merge pull request #1231 from rewritten/validate-input-object
benwilson512 Feb 17, 2023
7a67862
changelog notee
benwilson512 Feb 17, 2023
1f836b6
Missing bug fix from CHANGELOG
cheerfulstoic Feb 22, 2023
c13309b
Merge pull request #1232 from cheerfulstoic/patch-1
benwilson512 Feb 22, 2023
2777667
Merge branch 'master' of https://github.com/absinthe-graphql/absinthe…
Feb 27, 2023
206fd6f
Update test to account for default of :infinity
Feb 27, 2023
7eec586
Merge pull request #1210 from stellanor/token-limit
benwilson512 Feb 28, 2023
26e7f5e
Merge branch 'master' into otp-25
benwilson512 Mar 12, 2023
0069428
Merge pull request #1147 from pdgonzalez872/pg-add-example-01
benwilson512 Mar 20, 2023
6fd79f3
Fix endpoint and docket setup documentation for subscriptions
JoseMPena Mar 22, 2023
c6029c9
Merge pull request #1235 from JoseMPena/docfix
benwilson512 Mar 22, 2023
acf836c
add previous walk_results/6 as catch all for resolution without path
tfiedlerdejanze Mar 28, 2023
4f814d1
upgrade to newer ubuntu
benwilson512 Mar 28, 2023
96fd1dd
ci: run on ubuntu-20.04
tfiedlerdejanze Mar 28, 2023
53f9eae
Merge branch 'master' into patch-2
tfiedlerdejanze Mar 28, 2023
efece25
Merge pull request #1237 from ucwaldo/patch-2
benwilson512 Mar 28, 2023
632719e
Merge pull request #1227 from rewritten/pluggable-task-module
benwilson512 Mar 28, 2023
5d4ef4c
Merge pull request #1223 from jueberschlag/propagate-errors-on-non-nu…
benwilson512 Mar 28, 2023
c889901
Merge remote-tracking branch 'upstream/master' into patch-1
tfiedlerdejanze Mar 28, 2023
b425deb
Fix Absinthe.Subscription parameter in Subscriptions guide
mbuffa Mar 29, 2023
628ea46
Do the same for the tutorial
mbuffa Mar 29, 2023
46da214
Allow maps as arguments in macros
kzlsakal Feb 3, 2023
b326789
Handle quoted map argument handling in Notation instead of Input
kzlsakal Mar 30, 2023
c982582
Deduplicate directives when building schema
MaeIsBad Apr 13, 2023
520b130
Update CHANGELOG.md
MaeIsBad Apr 13, 2023
17f78c9
Revert "Deduplicate directives when building schema"
MaeIsBad Apr 13, 2023
92ae352
Don't import default directives into the prototype schema
MaeIsBad Apr 13, 2023
611ac79
Merge pull request #1236 from ucwaldo/patch-1
benwilson512 May 10, 2023
a7d1a6a
Merge pull request #1238 from mbuffa/chore/documentation-fix-absinthe…
benwilson512 May 13, 2023
1414fe1
Merge pull request #1226 from kzlsakal/kzlsakal/maps-as-macro-arguments
benwilson512 May 13, 2023
d82bd65
Merge pull request #1067 from cheerfulstoic/1066/documentation_for_da…
benwilson512 May 13, 2023
f8c31fd
Merge pull request #1102 from Cantido/add-docs-to-import-sdl
benwilson512 May 13, 2023
e2f02d6
Merge pull request #1116 from sega-yarkin/update-resolver-typespec
benwilson512 May 13, 2023
be22a3a
Merge pull request #1144 from maartenvanvliet/cleanup
benwilson512 May 13, 2023
9e2398d
typo fix
benwilson512 May 13, 2023
086393b
Merge pull request #1242 from MaeIsBad/deduplicate_directives
benwilson512 May 13, 2023
8b004d2
Merge branch 'master' into issues/918
benwilson512 May 13, 2023
d25f16d
Merge pull request #1193 from maartenvanvliet/issues/918
benwilson512 May 13, 2023
c6d94b0
cleanup some warnings
benwilson512 May 14, 2023
d5d2a0c
Merge pull request #1213 from MortadaAK/feature/allow-changing-result…
benwilson512 May 14, 2023
05ca9f2
typo fix
benwilson512 May 14, 2023
11b56c3
Do not unquote AST twice
josevalim May 17, 2023
002211f
Merge pull request #1244 from josevalim/patch-1
benwilson512 May 17, 2023
665a9ec
Add arg into resolver doc
hmy3743 Jun 7, 2023
8e96972
Merge pull request #1246 from hmy3743/master
benwilson512 Jun 7, 2023
c49f2ed
Add dialyxir to CI (and stop analysing dependencies)
paulo-ferraz-oliveira Jun 16, 2023
aed31be
Bump mix_test_watch to prevent compilation warnings
paulo-ferraz-oliveira Jun 16, 2023
6795e8a
Bump benchee to prevent compilation warnings
paulo-ferraz-oliveira Jun 16, 2023
8ecf60b
Update spec to prevent consumer errors on Dialyzer'ing
paulo-ferraz-oliveira Jun 16, 2023
dde9909
Fix all Dialyzer -issued warnings
paulo-ferraz-oliveira Jun 16, 2023
e236f96
Tweak config. as per recent dialyxir documentation
paulo-ferraz-oliveira Jun 16, 2023
8f737bf
Act on CI result
paulo-ferraz-oliveira Jun 16, 2023
3c2c1f9
Bump ex_doc to prevent compilation warnings
paulo-ferraz-oliveira Jun 18, 2023
82118c8
add map new to de-duplicate multiple entries to the same doc
beligante Jun 18, 2023
fab6ac9
Merge pull request #1248 from paulo-ferraz-oliveira/feature/dialyxir-…
benwilson512 Jun 19, 2023
555aeb8
Merge pull request #1215 from maartenvanvliet/issues/925-error-extens…
benwilson512 Jun 29, 2023
8d51f81
1.7.2
benwilson512 Jun 29, 2023
6a2954d
changelog update
benwilson512 Jun 29, 2023
6a04af9
Merge pull request #1197 from maartenvanvliet/otp-25
benwilson512 Jun 29, 2023
d0659a3
Merge branch 'master' into otp-25
benwilson512 Jun 29, 2023
3e3d4e6
Merge pull request #1252 from absinthe-graphql/otp-25
benwilson512 Jun 29, 2023
a9be40b
fix map sorting bugs
benwilson512 Jun 29, 2023
72b09fb
OTP 26 and Elixir 15 support
benwilson512 Jun 29, 2023
4d7449e
mix format
benwilson512 Jun 29, 2023
3e476d3
only do OTP 26 on Elixir 1.15
benwilson512 Jun 29, 2023
52c7e16
remove dialyxer from the CI for now
benwilson512 Jun 29, 2023
bc8a1c5
Merge pull request #1253 from absinthe-graphql/otp-26
benwilson512 Jun 29, 2023
ddd2a31
version bump
benwilson512 Jun 29, 2023
7d75be7
remove warning
benwilson512 Jun 29, 2023
2ee47cd
dedup documents before unpacking processing
beligante Jun 29, 2023
97ea4dc
refact: use map.new to save some traversals
beligante Jun 29, 2023
66c21a1
Adapt to 1.15's code path pruning, for dialyxir'ing purposes
paulo-ferraz-oliveira Jun 30, 2023
2a84558
Merge pull request #1255 from paulo-ferraz-oliveira/fix/dialyzer-in-c…
benwilson512 Jun 30, 2023
301ab7a
try a cache prefix
benwilson512 Jun 30, 2023
86e6c80
Merge pull request #1249 from beligante/fix-multiple-pushes-to-same-c…
benwilson512 Jun 30, 2023
bf80f04
changelog
benwilson512 Jun 30, 2023
196814b
Merge pull request #1254 from absinthe-graphql/re-enable-dialyzer-ci
benwilson512 Jun 30, 2023
3c102f0
v1.7.4
benwilson512 Jul 7, 2023
fa9c8b6
support dataloader 2.0
benwilson512 Jul 24, 2023
0f3cdb0
fix null propagation with non_null(list_of(non_null(type)))
benwilson512 Jul 14, 2020
4259e16
fix(phase/variable_types_match): soft fail with Logger.warn
jakerobers Sep 28, 2022
6837b46
Warn on invalid wrapped arguments
Nov 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pass directive names through language adapter
  • Loading branch information
maartenvanvliet committed Nov 30, 2022
commit a917e3d37173ccb7d01e478d850ab1e795af6dde
6 changes: 5 additions & 1 deletion lib/absinthe/type/built_ins/introspection.ex
Original file line number Diff line number Diff line change
@@ -54,7 +54,11 @@ defmodule Absinthe.Type.BuiltIns.Introspection do
object :__directive do
description "Represents a directive"

field :name, non_null(:string)
field :name,
type: non_null(:string),
resolve: fn _, %{adapter: adapter, source: source} ->
{:ok, adapter.to_external_name(source.name, :field)}
end

field :description, :string