Commit graph

69 commits

Author SHA1 Message Date
Zach Daniel
6be5c593cd fix: proper not found errors 2021-04-16 13:49:51 -04:00
Zach Daniel
88f912a6aa fix: correctly select fields to clear 2021-04-16 12:59:04 -04:00
Zach Daniel
43dae2ad28 fix: don't clear fields on nil result
chore: add tests for destroy
2021-04-16 12:56:29 -04:00
Zach Daniel
1f098c5fa1 fix: load fields required for relationship 2021-04-15 16:28:04 -04:00
Zach Daniel
6b84bf0f46 fix: detect all embeddable types in arguments and nested
fix: detect enums in embeddable types and arguments
fix: error messages for `InvalidArgument`
improvement: log on unrenderable error messages
fix: store refs in graphql blueprint to fix error messages
improvement: update to latest ash
2021-04-13 17:49:10 -04:00
Zach Daniel
ea6a21586a fix: fix graphql subselections for pagination 2021-04-09 16:29:50 -04:00
Zach Daniel
5ab646b189 chore: small refactor in schema builder 2021-04-09 00:11:45 -04:00
Zach Daniel
e61f75ac40 fix: don't show non-predicate operators in filters 2021-04-06 10:17:04 -04:00
Zach Daniel
6ae8715a13 improvement: support upsert?: true flag on create 2021-04-05 14:41:16 -04:00
Zach Daniel
9cde7df795 fix: fully remove relationship changes 2021-04-05 13:08:39 -04:00
Michael St Clair
b97e81bc9e
improvement: add allow_nil? to queries (#16) 2021-04-05 10:36:52 -04:00
Michael St Clair
5fb50fe2bb
improvement: generate type based on allow_nil? (#14) 2021-04-04 03:16:05 -04:00
Michael St Clair
596dc90381
feat: add read_one query (#13) 2021-04-04 03:10:50 -04:00
Michael St Clair
cb9f5fd28d
support decimal type (#11) 2021-04-02 21:31:53 -04:00
Zach Daniel
004c69c291 feat: support custom types, add custom type test 2021-03-28 12:30:28 -04:00
Zach Daniel
69f34ba55b fix: select fields/aggregates/calculations 2021-03-22 13:03:18 -04:00
Zach Daniel
9151b712f1 improvement: start on error messaging groundwork
fix: properly handle relationship changes on updates
2021-03-15 15:51:17 -04:00
Zach Daniel
919a4edeac chore: format/dialyzer 2021-03-12 09:39:59 -05:00
Zach Daniel
afdaad2886 fix: allow referencing ash generated types 2021-03-12 09:19:33 -05:00
Zach Daniel
885b1d886e chore: modernize example action names
fix: don't fail on empty mutations list
improvement: support more builtin types
2021-03-12 09:04:38 -05:00
Zach Daniel
83b77121d1 improvement: validate action existence 2021-03-08 14:22:41 -05:00
Zach Daniel
b988c4c08c improvement: support debug? at the api level 2021-02-23 12:28:19 -05:00
Zach Daniel
12611b6c64 fix: proper supports for embeds
improvement: update to latest ash
2021-02-22 23:28:01 -05:00
Zach Daniel
33ce6b952d WIP 2021-02-18 10:16:00 -05:00
Zach Daniel
fbfdb7faf8 feat: update to latest ash
feat: support query arguments
2021-01-21 23:06:06 -05:00
Zach Daniel
a820beb474 feat: support embedded resources 2021-01-12 15:14:35 -05:00
Zach Daniel
6f5b081f03 chore: fix linter 2020-12-30 18:00:36 -05:00
Zach Daniel
aabdd4874d fix: in enum filters should be instances of the enum 2020-12-30 17:51:26 -05:00
Zach Daniel
89adb954e3 fix: resolve error with non-required pagination 2020-12-30 13:26:03 -05:00
Zach Daniel
0ca1b770e7 chore: don't parse filter input 2020-12-30 13:10:10 -05:00
Zach Daniel
6dae243a0f fix: properly represent boolean filters 2020-12-30 11:25:26 -05:00
Zach Daniel
539bb14065 feat: filters as input objects 2020-12-29 15:11:16 -05:00
Zach Daniel
9984b19c39 chore: format 2020-12-27 02:05:19 -05:00
Zach Daniel
90b969af2e improvement: update to latest ash 2020-12-27 01:49:35 -05:00
Zach Daniel
e433b57eda fix: resolve testing compilation errors 2020-12-02 00:55:25 -05:00
Zach Daniel
210057d1c3 test: actually have a test :) 2020-12-02 00:07:15 -05:00
Zach Daniel
fc62c6b8f4 fix: don't require attributes that have a default value 2020-11-30 20:00:55 -05:00
Zach Daniel
6c7c789696 fix: remove IO.inspect 2020-11-30 19:19:11 -05:00
Zach Daniel
553f751ddf fix: undo change of global types 2020-11-30 19:16:37 -05:00
Zach Daniel
66b2162d10 fix: always add global types 2020-11-30 19:04:59 -05:00
Zach Daniel
7123a6a492 chore: release version v0.7.1 2020-11-30 18:17:20 -05:00
Zach Daniel
37d0b6534d
feat: Support configuring identities (#8)
* feat: support using identities for gets
2020-11-18 02:14:33 -05:00
Zach Daniel
5b7626c28f
chore: fix sobelow 2020-11-11 23:01:48 -05:00
Zach Daniel
d1f35f420d
improvement: create input honors required relationships 2020-11-11 22:57:48 -05:00
Zach Daniel
cacec2de1d
improvement: add more NonNulls 2020-11-11 22:53:53 -05:00
Zach Daniel
daf8513c26
fix: correct sorting enum/args list 2020-11-11 22:41:54 -05:00
Zach Daniel
74ad0149ec
fix: allow null sorts 2020-11-05 22:12:28 -05:00
Zach Daniel
5534b1c464
fix: default_page_size -> default_limit 2020-11-05 21:44:33 -05:00
Zach Daniel
d5cf6ee3a0
feat: overhaul, better type support, pagination 2020-11-05 20:59:06 -05:00
Zach Daniel
51dc4b8a0c
fix: use the correct tenant function 2020-11-02 21:15:30 -05:00