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 dropwizard-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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?
--