This is solution for the issue 31 related to the missing TopLevel construct. If user adds argument -t Blah it's prefixed correctly and issue not visible.
In provided example, after close examination of example reddit.json json file and making multiple test runs
I found that escaping Haskell keywords not full. More over it's not applied for the field declarations which led to several errors that avoided building TopLevel declaration. Notice kind keyword inside children array.
This is solution for the issue 31 related to the missing
TopLevel
construct. If user adds argument-t Blah
it's prefixed correctly and issue not visible.In provided example, after close examination of example
reddit.json
json file and making multiple test runsI found that escaping Haskell keywords not full. More over it's not applied for the field declarations which led to several errors that avoided building
TopLevel
declaration. Noticekind
keyword inside children array.This fix adds
kind
keyword in the escaping mechanism