gitlab4j / gitlab4j-api

GitLab4J API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories via the GitLab REST API
MIT License
1.07k stars 464 forks source link

queition about Serializable #831

Open skiray opened 2 years ago

skiray commented 2 years ago

I'm a rookie, and i have a question: why class such as commit, mergeRequest not implements Serializable?

tincore commented 1 year ago

First of all thanks for the hard work.

I'd like to raise this as a (hopefully easily fix) issue. As I just noticed the problem in practice.

I'm using 6.0.0-rc.1

Pojos do not implement serializable and this is a problem when using some caches (like ehcache). Basically objects do not enter the cache as-is.

Just by marking them as Serializable I believe that the issue would be solved.