Hi. Is there a way to use one annotation for get and field target instead of two?
Now I specify them as follows:
class Data @BsonCreator constructor(
@field:BsonProperty(Fields.DATA_TYPE)
@param:BsonProperty(Fields.DATA_TYPE) val dataType: String
) {}