opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
185 stars 8 forks source link

feature: Be able to support number bigger/smaller than signed integer #4179

Closed BeArchiTek closed 4 days ago

BeArchiTek commented 3 weeks ago

Component

API Server / GraphQL

Describe the Feature Request

Improve the Number attribute to support number bigger (or smaller) than a signed int.

Describe the Use Case

Be able to use 32-bits private ASN in a Number Pool

Additional Information

Maybe something to tackle with adding float into Number for https://github.com/opsmill/infrahub/issues/1945

dgarros commented 2 weeks ago

Looks like the main limitation is coming from the GraphQL type that we are using : Int Graphene also support another type BigInt that should fix this problem, it should be fairly easy to switch