E3FB ConversionServiceAdapterGenerator does not respect mapstruct.suppressGeneratorTimestamp · Issue #81 · mapstruct/mapstruct-spring-extensions · GitHub
[go: up one dir, main page]

Skip to content

ConversionServiceAdapterGenerator does not respect mapstruct.suppressGeneratorTimestamp #81

@freund17

Description

@freund17

The ConversionServiceAdapter generated by ConversionServiceAdapterGenerator contains a "date" value in its @Generated annotation, despite mapstruct.suppressGeneratorTimestamp=true being configured:

@Generated(
    value = "org.mapstruct.extensions.spring.converter.ConversionServiceAdapterGenerator",
    date = "2023-07-05T15:30:39.534896439Z"
)
@Component
public class ConversionServiceAdapter {
    // ...
}

It would be nice if mapstruct-spring-extensions would support this setting (or add a simular one) just like mapstruct does and render without the date attribute:

@Generated(
    value = "org.mapstruct.extensions.spring.converter.ConversionServiceAdapterGenerator"
)
@Component
public class ConversionServiceAdapter {
    // ...
}

I'm mainly thinking "reproducible builds"/"optimizing caching" here, so it would be nice that if my code didn't change, the generated output would stay the same. 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0