Jan Labrie
Jan Labrie
Hi Clem! 1) Without referring model.dto this is the OK result.  GroupDTO is generated. 2) When enabling schema generation for model.dto, the result is like this:  Generation fails...
Clem, I am out of time now. Will investigate further at a later time. Bye for now, Jan
There is an issue. The following proves it: The following configuration will generate the Group schema directly as class and from the package: ``` model.entity.group model.entity.group.Group model.entity.user.User ``` The output...
It is a weird problem. Feels like a bug in reflections. But we'll have to see. When you would ask Reflections for the content of the `model.entity.group` package, it will...
Pffff...I found the problem. In case a class has a baseclass that is outside the scanned area, Reflections will not take it into account. The Group class extends BasicEntity, which...
Ahh...why sleep?. I made a fix, tested it on the Clem's project and it works. The solution is not elegant, but it works. We'll have to discuss something better. But...
I also would like to have extended support in this area. In my case it is about changing the name because the name of the Java class is not good...
I'll go for a slightly different approach: ```xml a.b.c.YourClass a.b.c.MyClass x.y.z src/main/resources/schema schema-%s.json ``` The filename pattern is applied to all generated files, and uses the syntax of `String.format`, where...
Let's build it and gain experience. I am always a fan of defining a pattern and sticking to it. One other topic on the schema files for packages: shall we...
Agreed. The default can then be: {0}-schema.json