Coder Social home page Coder Social logo

Comments (3)

UweTrottmann avatar UweTrottmann commented on June 6, 2024 1

If at all I would just change everything and release a major new version.

To get an estimation of when Integer.MAX_VALUE might be reached:

  • What is the highest ID right now?
  • How long has TMDB existed?

But in any case I doubt we'll ever reach that 2 billion in our life times.

from tmdb-java.

UweTrottmann avatar UweTrottmann commented on June 6, 2024

Any particular reason why? Link?

from tmdb-java.

ProIcons avatar ProIcons commented on June 6, 2024

I realised that it would just break backwards compatibility, and by just adding end points with long ids we are effectively doubling up the declarations which in turn increases the package size.

The reason behind converting to Longs is to be safe long term, I know it will be a long time till we get an entity with ID over the MAX_VALUE of int, but it's all about the long term support.

from tmdb-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.