35 Commits

Author SHA1 Message Date
David Luecke
7088af64a5
feat(cli): Use separate patch schema and types (#2916) 2022-12-14 11:18:46 -08:00
David Luecke
b66c734357
fix(schema): Allow query schemas with no properties, error on unsupported types (#2904) 2022-12-05 16:57:45 -08:00
David Luecke
7d03b57ae2
feat(schema): Virtual property resolvers (#2900) 2022-12-03 10:05:11 -08:00
David Luecke
164d75c0f1
fix(core): Improve service option usage and method option typings (#2902) 2022-12-02 09:07:45 -08:00
David Luecke
4822c94981
feat(schema): Split resolver options and property resolvers (#2889) 2022-11-23 17:04:37 -08:00
David Luecke
ed3b05051d
fix(schema): Use the same options for resolveData hook (#2833) 2022-10-25 17:54:12 -07:00
David Luecke
5fa900f90d
fix(schema): Improve resolver performance (#2822) 2022-10-20 16:56:46 -07:00
David Luecke
57119b6bb2
feat(cli): Generate full client test suite and improve typed client (#2788) 2022-10-12 11:18:35 -07:00
David Luecke
44172d99b5
feat(schema): Make schemas validation library independent and add TypeBox support (#2772) 2022-10-06 17:01:05 -07:00
daffl
21d6aaa3d5 chore(tests): Fix test running setup 2022-09-13 12:01:06 +02:00
Ray Foss
0b2def6ca4
fix(schema): Fix for Ajv global collision bug #2681 (#2702) 2022-08-30 14:44:41 +02:00
David Luecke
f7e87dbb9a
fix(schema): Fix dispatch resovler hook to convert actually resolved data (#2663) 2022-06-10 18:29:25 -07:00
David Luecke
532eda03ff
chore: Remove unnecessary dependencies file and adjust Prettier line width (#2650) 2022-05-31 13:47:07 -07:00
Marshall Thompson
940a2b6868
fix(schema): remove default from queryProperty schemas (#2646) 2022-05-28 12:28:46 -07:00
David Luecke
145b366435
fix(schema): Always resolve dispatch in resolveAll and add getDispatch method (#2645) 2022-05-28 09:22:13 -07:00
David Luecke
c606c56dc2
chore: Format code using Prettier and updated ESLint rules (#2647)
Co-authored-by: Marshall Thompson <marshall@creativeideal.net>
2022-05-27 15:21:13 -07:00
David Luecke
be71fa2fe2
fix(schema): Allows resolveData with different resolvers based on method (#2644) 2022-05-23 21:59:53 -07:00
David Luecke
85527d71cb
feat(schema): Add resolveAll hook (#2643) 2022-05-23 15:21:23 -07:00
David Luecke
72b980e056
feat(schema): Add resolver for safe external data dispatching (#2641) 2022-05-22 09:00:18 -07:00
David Luecke
26d9e05327
feat(schema): Add schema resolver converter functionality (#2640) 2022-05-22 08:48:26 -07:00
David Luecke
06d03e91ab
fix(schema): Add Combine helper to allow merging schema types that use (#2637) 2022-05-17 15:06:11 -07:00
David Luecke
2bbb103b2f
feat(schema): Add querySyntax helper to create full query schemas (#2621) 2022-05-03 17:21:59 -07:00
David Luecke
d85c507c76
feat(schema): Allow hooks to run resolvers in sequence (#2609) 2022-04-24 13:29:02 -07:00
David Luecke
3b2ca0a6a8
feat(typescript): Improve adapter typings (#2605) 2022-04-23 15:47:32 -07:00
David Luecke
df28b76191
feat(typescript): Improve params and query typeability (#2600) 2022-04-20 10:15:11 -07:00
idaho
6511e45bd0
fix(schema): result resolver correctly resolves paginated find result (#2594) 2022-04-11 09:52:32 -07:00
David Luecke
a268f86da9
feat(configuration): Allow app configuration to be validated against a schema (#2590) 2022-04-04 16:08:25 -07:00
Marshall Thompson
3077d2d896 fix(queryProperty): allow compound oneOf (#2545) 2022-02-15 11:49:22 -08:00
David Luecke
31fbdff8bd fix(schema): Properly handle resolver errors (#2540) 2022-02-15 11:49:22 -08:00
David Luecke
1093f124b6
fix(schema): Fix resolver data type and use new validation feature in test fixture (#2523) 2022-01-08 11:04:14 -08:00
David Luecke
8c1b350527
feat(schema): Improve schema typing, validation and extensibility (#2521) 2022-01-07 11:30:08 -08:00
David Luecke
96fdb47d45
fix(schema): Do not error for schemas without properties (#2519) 2022-01-05 13:48:34 -08:00
Marshall Thompson
ecfa4df29f
feat(schema): Allow to use custom AJV and test with ajv-formats (#2513) 2022-01-03 14:42:49 -08:00
David Luecke
7d9590bbe1
feat(schema): Allow resolvers to validate a schema (#2465) 2021-10-05 21:58:54 -07:00
David Luecke
c57a5cd566
feat(schema): Initial version of schema definitions and resolvers (#2441) 2021-09-14 21:22:40 -07:00