Commit Graph

208 Commits

Author SHA1 Message Date
Shreyas Goenka 440bbc3478
removed logging traceset 2023-01-20 16:28:46 +01:00
Shreyas Goenka 6be09cfdb6
renamed step/undoStep -> push/pop 2023-01-20 16:26:13 +01:00
Shreyas Goenka 9599e63ffb
changed comment type 2023-01-20 16:24:39 +01:00
Shreyas Goenka 93e5c83091
fixed bug in when you print debug message 2023-01-19 22:01:24 +01:00
Shreyas Goenka cd336bcc99
final pass over the comments 2023-01-19 18:58:31 +01:00
Shreyas Goenka 0a91a10ef6
defined result schema return type right after rootjavascripttype 2023-01-19 18:31:55 +01:00
Shreyas Goenka 333b9f7acc
added tracker struct and refactored a bit 2023-01-19 18:23:37 +01:00
Shreyas Goenka 3c5ee69941
should pass gofmt now 2023-01-19 16:12:24 +01:00
Shreyas Goenka 9ec0c5ddcd
another attempt at passing fmt 2023-01-19 15:44:22 +01:00
Shreyas Goenka 2e0c3928f7
another attempt at solving fmt issues 2023-01-19 15:37:47 +01:00
Shreyas Goenka 2ca648718a
this should take care of fmt issues 2023-01-19 15:33:32 +01:00
Shreyas Goenka 761186680f
Addressed style and comment issues 2023-01-19 15:25:17 +01:00
Shreyas Goenka ccefb20e4e
add omitempty tag to config root 2023-01-19 14:13:56 +01:00
Shreyas Goenka e2f4f4d5f1
some final cleanup 2023-01-19 11:34:55 +01:00
Shreyas Goenka e4935642ca
updated formatting on doc strings 2023-01-18 22:59:50 +01:00
Shreyas Goenka d00cee4680
Added generic test 2023-01-18 18:09:18 +01:00
Shreyas Goenka 35c3793579
corrected add to get in getStructFields 2023-01-18 17:45:53 +01:00
Shreyas Goenka 5da5ea0c7a
Moved tracing to safeToSchema 2023-01-18 17:36:50 +01:00
Shreyas Goenka 35d9829b7b
PR is almost done, three things to go, 1. A nice big test, 2. Some cleanup and self review, 3. Address reviews from first round 2023-01-18 17:16:59 +01:00
Shreyas Goenka 9e13a62b00
added tests for errors and handling errors correctly now 2023-01-18 16:58:09 +01:00
Shreyas Goenka 1ee80080d2
Added doc ingension with a test 2023-01-18 16:02:38 +01:00
Shreyas Goenka 2789b61e40
added test for require <-> omitempty 2023-01-18 13:12:01 +01:00
Shreyas Goenka 7e00a80109
added and modified tests to work with it 2023-01-18 12:54:51 +01:00
Shreyas Goenka 1a8627fc26
added test for pointers in structs 2023-01-18 11:02:25 +01:00
Shreyas Goenka 4dfe3cea9a
updated dashed and non annotated field skipping test 2023-01-18 10:44:37 +01:00
Shreyas Goenka 410ba97ebc
updated embedded struct schema test 2023-01-18 10:42:33 +01:00
Shreyas Goenka 8a8f93e150
nit: moved generic test down 2023-01-17 19:32:44 +01:00
Shreyas Goenka f52d090166
added tests for slice of [primitive, slice, map, struct] 2023-01-17 19:31:18 +01:00
Shreyas Goenka ef6737d7de
removed old tests: TestMapOfObjectsSchema, TestSliceOfObjectsSchema 2023-01-17 18:02:14 +01:00
Shreyas Goenka a173d89ffa
added test for map of slice 2023-01-17 17:59:58 +01:00
Shreyas Goenka bd6d0dca57
added test for map of map 2023-01-17 17:57:48 +01:00
Shreyas Goenka 753c54e899
added support for additionalProperties = false for validation and a test for a map of struct 2023-01-17 17:53:58 +01:00
Shreyas Goenka 91617e50c1
added test for map of primitives 2023-01-17 15:47:31 +01:00
Shreyas Goenka f556e62c3b
added tests for struct of map and struct of slice 2023-01-17 15:43:35 +01:00
Shreyas Goenka 2021ca1886
Added test for struct of structs 2023-01-17 15:34:49 +01:00
Shreyas Goenka 019b7d7fa9
added tests for schemas for primitives 2023-01-17 15:08:17 +01:00
Shreyas Goenka ce7b2133bf
Added comments for the schema struct fields 2023-01-17 13:59:56 +01:00
Shreyas Goenka d2f466afc5
replaced properties and items with schema 2023-01-17 13:47:31 +01:00
Shreyas Goenka cc350f761a
correct typo and some comments 2023-01-17 13:43:50 +01:00
Shreyas Goenka e79c52ff37
Added doc string for type mapping 2023-01-17 12:25:25 +01:00
Shreyas Goenka aa81d83970
added ignoring - fields and tests for ignoring dashed and non annotated fields 2023-01-17 11:58:32 +01:00
Shreyas Goenka 2a66a2fc74
added comment for what to do about cycles in json schema 2023-01-17 11:26:46 +01:00
Shreyas Goenka 7385f37df6
fixed typo 2023-01-16 21:53:20 +01:00
Shreyas Goenka 2945408f0d
add test for errWithTrace 2023-01-16 13:19:31 +01:00
Shreyas Goenka 42d82ede6e
- 2023-01-16 02:30:41 +01:00
Shreyas Goenka 4438d1b37c
some todo and comment cleanup 2023-01-16 02:27:49 +01:00
Shreyas Goenka ae201f1bd3
comments and typo correction 2023-01-16 02:23:35 +01:00
Shreyas Goenka 276ba00067
fixed debugTrace 2023-01-13 20:03:24 +01:00
Shreyas Goenka 1ee35c3633
corrected enum 2023-01-13 19:40:09 +01:00
Shreyas Goenka d605ab1aa4
using list for error tracing 2023-01-13 19:37:35 +01:00