mjustin

Results 30 comments of mjustin

As a user, I can confirm this would be useful. The current approach I have to follow is open the bean, see if there's an order defined, and then order...

Here is a JUnit 5 unit test for this feature based on [a Stack Overflow question](https://stackoverflow.com/questions/16488951): ```java import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.json.JsonMapper; import org.junit.jupiter.api.Test; import java.util.List; import...

Incidentally, [the Stack Overflow question for this issue](https://stackoverflow.com/questions/18043587) has 46 upvotes, and its top answer has 101 upvotes, so this is definitely an issue users have been encountering.

I ran across this today and it also ran contrary to my expectations on how this feature should work. In my case, I have a REST API with a polymorphic...

A more targeted Jackson solution is to annotate just the single field as being read-only: ```java @JsonProperty(access = JsonProperty.Access.READ_ONLY) @CreatedDate private Instant createdDate; ```

From my own explorations into a similar issue (#2191), I suspect this is due to Spring Data REST using its own [`ValidationErrors`](https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest/core/ValidationErrors.html) type to validate against, rather than the default...

I haven't verified this, but as a workaround I suspect adding a listener which performs normal bean validation using a standard `BeanPropertyBindingResult` will achieve the goal of also validating transient...

I was hoping to find which tasks depend on a given task, which is something that the full task tree would get me.

I think I've seen "0/0/1900" used as a null date, and Google says that "1/0/1900" is how Excel displays 0 as a date.

This is explicitly called out in the README as a string that should not be included in the list: > Likewise, please do not send pull requests which compromise manual...