You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Auraxium object model is strongly tied to the Census payload format. This format changes, occasionally with limited notice, and it is unreasonable to require a new Auraxium version every time.
An OpenAPI spec for the game is maintained at ps2-api-docs, and the classes generated from it are extremely similar to the data model described by auraxium.models and auraxium.ps2. It would aid maintainability to simply use that API spec, with auraxium.ps2 only providing convenience wrappers and helper methods on top of it.
This should also include a hook for users to inject their own modified API specs on a per-client basis, either to locally patch Auraxium for recent API changes, or to use a third-party endpoint (such as Sanctuary.Census) whose payloads may not perfectly match the DBG Census.
The text was updated successfully, but these errors were encountered:
The Auraxium object model is strongly tied to the Census payload format. This format changes, occasionally with limited notice, and it is unreasonable to require a new Auraxium version every time.
An OpenAPI spec for the game is maintained at ps2-api-docs, and the classes generated from it are extremely similar to the data model described by
auraxium.models
andauraxium.ps2
. It would aid maintainability to simply use that API spec, withauraxium.ps2
only providing convenience wrappers and helper methods on top of it.This should also include a hook for users to inject their own modified API specs on a per-client basis, either to locally patch Auraxium for recent API changes, or to use a third-party endpoint (such as Sanctuary.Census) whose payloads may not perfectly match the DBG Census.
The text was updated successfully, but these errors were encountered: