You might try isolating what you're trying to do into a test case that uses Jackson and its YAML parser directly, without Dropwizard in the way, and if you can reproduce it there, asking on the Jackson User list: https://groups.google.com/d/forum/jackson-user
HTH, Christopher On Mon, Jun 19, 2017 at 7:30 AM, Tommy Becker <[email protected]> wrote: > Does anyone have an example of YAML anchors/references actually working in > a Dropwizard app? We have a couple of config values that are duplicated in > a few places in the config, and I would very much like to use anchors/refs > to deduplicate it. From what little I have been able to find it seems like > it should work, but for the life of me I can't get it to. I've annotated > with @JsonIdentityInfo, and Jackson seems to recognize the anchors in that > it strips them out of the config, but the references are not replaced > properly, "*foo" gets replaced by simply "foo" for example. Any ideas? > > -- > You received this message because you are subscribed to the Google Groups > "dropwizard-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
