Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate the types using Record type #167

Open
hantsy opened this issue Jun 12, 2021 · 3 comments
Open

Generate the types using Record type #167

hantsy opened this issue Jun 12, 2021 · 3 comments
Labels
blocked Blocked by an external issue

Comments

@hantsy
Copy link

hantsy commented Jun 12, 2021

If the Java version is set to the newest version , eg 16, generating Records instead of the POJOs.

@paulbakker
Copy link
Collaborator

We'll have to wait for JavaPoet to support records. They have an open issue (and possibly an open PR) for that: square/javapoet#829

@paulbakker paulbakker added the blocked Blocked by an external issue label Jun 14, 2021
@Ernir
Copy link

Ernir commented Apr 29, 2023

Linking related discussions.

There is indeed a PR for providing record support in JavaPoet:
square/javapoet#840

However, the future of JavaPoet seems to be under discussion:
square/javapoet#866

There is a fork which already includes record support:
https://github.com/FabricMC/javapoet

@Ernir
Copy link

Ernir commented Sep 7, 2024

Linking related discussions.

There is indeed a PR for providing record support in JavaPoet: square/javapoet#840

However, the future of JavaPoet seems to be under discussion: square/javapoet#866

There is a fork which already includes record support: https://github.com/FabricMC/javapoet

Update from the discussion linked above - there is now a fork of Javapoet which looks like it's actively maintained, by Palantir:
https://github.com/palantir/javapoet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by an external issue
Projects
None yet
Development

No branches or pull requests

3 participants