{"action":"created","issue":{"url":"https://api.github.com/repos/jiecao-fm/hashids-java/issues/56","repository_url":"https://api.github.com/repos/jiecao-fm/hashids-java","labels_url":"https://api.github.com/repos/jiecao-fm/hashids-java/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/jiecao-fm/hashids-java/issues/56/comments","events_url":"https://api.github.com/repos/jiecao-fm/hashids-java/issues/56/events","html_url":"https://github.com/jiecao-fm/hashids-java/issues/56","id":318101765,"number":56,"title":"Relax MAX_NUMBER restriction","user":{"login":"iggymoran","id":19573100,"avatar_url":"https://avatars0.githubusercontent.com/u/19573100?v=4","gravatar_id":"","url":"https://api.github.com/users/iggymoran","html_url":"https://github.com/iggymoran","followers_url":"https://api.github.com/users/iggymoran/followers","following_url":"https://api.github.com/users/iggymoran/following{/other_user}","gists_url":"https://api.github.com/users/iggymoran/gists{/gist_id}","starred_url":"https://api.github.com/users/iggymoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iggymoran/subscriptions","organizations_url":"https://api.github.com/users/iggymoran/orgs","repos_url":"https://api.github.com/users/iggymoran/repos","events_url":"https://api.github.com/users/iggymoran/events{/privacy}","received_events_url":"https://api.github.com/users/iggymoran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T16:15:07Z","updated_at":"2018-04-26T18:44:38Z","closed_at":null,"author_association":"NONE","body":"I understand the desire to be completely compatible with the Javascript implementation/limitiations, as explained in #47 and in the docs, but is it possible to provide a toggle that disables this functionality? \r\n\r\nThis would ensure backward compatibility with Javascript's limitations, but would allow this library to make use of the full potential that the Java platform provides.\r\n\r\nOther implementations (such as Scala and .Net) don't impose these restrictions and allow the library to be used with the native implementation of the number."},"comment":{"url":"https://api.github.com/repos/jiecao-fm/hashids-java/issues/comments/384749818","html_url":"https://github.com/jiecao-fm/hashids-java/issues/56#issuecomment-384749818","issue_url":"https://api.github.com/repos/jiecao-fm/hashids-java/issues/56","id":384749818,"user":{"login":"arcticicestudio","id":7836623,"avatar_url":"https://avatars3.githubusercontent.com/u/7836623?v=4","gravatar_id":"","url":"https://api.github.com/users/arcticicestudio","html_url":"https://github.com/arcticicestudio","followers_url":"https://api.github.com/users/arcticicestudio/followers","following_url":"https://api.github.com/users/arcticicestudio/following{/other_user}","gists_url":"https://api.github.com/users/arcticicestudio/gists{/gist_id}","starred_url":"https://api.github.com/users/arcticicestudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcticicestudio/subscriptions","organizations_url":"https://api.github.com/users/arcticicestudio/orgs","repos_url":"https://api.github.com/users/arcticicestudio/repos","events_url":"https://api.github.com/users/arcticicestudio/events{/privacy}","received_events_url":"https://api.github.com/users/arcticicestudio/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T18:44:38Z","updated_at":"2018-04-26T18:44:38Z","author_association":"NONE","body":"I've also proposed this in another issue some time ago and if I remember correctly they planed a v2 which will include some breaking changes like this. [I've also implemented my own library including this feature][ref]. I've found no reason to limit a Java implementation only because the reference algorithm implementation is limited by the chosen language. This library is used within the Java world and even if generated Hashids are e.g. used in a REST API to disguise internal database IDs which will be consumed by a JavaScript frontend, the part of the \"decryption\" will be handed in the backend (this library) while the frontend handles the Hashid as simple string and not a number. \r\n\r\n[ref]: https://arcticicestudio.github.io/icecore-hashids/api/guide/configuration/features.html#no-number-size-limit"}}
{"actor":{"display_login":"arcticicestudio"}}