<Generate producer function based on yml configura...
# stackoverflow
u
Generate producer function based on yml configuration I'm not even sure if this is possible, but it would be really amazing. I have some configuration in my yaml file. Does anyone know it is possible to kind of generate a javax.enterprise.inject.Produces function from this? My initial thought would be to use some kind of for loop, but then I would be doing something in a function itself, and I'm not sure whether it would be picked up.