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

Is this library needed now that moshi-codegen exists? #92

Closed
PaulWoitaschek opened this issue May 16, 2018 · 4 comments
Closed

Is this library needed now that moshi-codegen exists? #92

PaulWoitaschek opened this issue May 16, 2018 · 4 comments

Comments

@PaulWoitaschek
Copy link

Does it make sense to deprecated this library?

If I understand correctly, as of 1.6.0, moshi does everything this library does, or are there any differences?

@ansman
Copy link
Owner

ansman commented May 23, 2018

Well, it's an interesting thought. Thought there are a couple of reasons why I don't think that's needed:

  • Kotshi has support for things that the built in support doesn't
    • Non reflective factory
    • Not using adapters for primitive types
    • Support for java classes
  • The codegen module has not been battle tested
  • Kotshi is free to explore new ideas without having to maintain paradigms that are consistent with Moshi's

Long term this library will probably be deprecated in favor for the codegen module though.

@PaulWoitaschek
Copy link
Author

Okay then thanks for the great library. It feels like your project was the engine for the adapter generation going upstream :)

@ansman ansman pinned this issue Jul 17, 2019
@ansman ansman changed the title Deprecate this library? Is this library needed now that moshi-codegen exists? Jul 17, 2019
@zakayothuku
Copy link

Moshi codegen has issues with generic classes

@ZacSweers
Copy link

@schatzdesigns that's not true. As explained in the bug reports you commented on - your issues were programmer error around Moshi's Types.newParameteredType usage.

@ansman ansman unpinned this issue Sep 20, 2022
@ansman ansman pinned this issue Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants