You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use this library in conjunction with a Spring boot rest service. A DTO is available on the backend, which includes a Map<DayOfWeek, OwnClass>. The tag can come across the interface in upper and lower case. We have therefore set ACCEPT_CASE_INSENSITIVE_ENUMS.
Now, we need a similar behavior in the frontend. By default, the interface returns the DayOfWeek in upper case. However, our property in the resource is called e.g. monday. It would be nice if an anntoation was introduced with which I can set the property insensitive.
Example:
@HateoasResource('week')
export class Week extends Resource { @insensitive
public monday: string;
}
The text was updated successfully, but these errors were encountered:
We use this library in conjunction with a Spring boot rest service. A DTO is available on the backend, which includes a Map<DayOfWeek, OwnClass>. The tag can come across the interface in upper and lower case. We have therefore set ACCEPT_CASE_INSENSITIVE_ENUMS.
Now, we need a similar behavior in the frontend. By default, the interface returns the DayOfWeek in upper case. However, our property in the resource is called e.g. monday. It would be nice if an anntoation was introduced with which I can set the property insensitive.
Example:
@HateoasResource('week')
export class Week extends Resource {
@insensitive
public monday: string;
}
The text was updated successfully, but these errors were encountered: