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
export class API extends ParentAPI {
// Case 1: zone
public static readonly LOCALITY: ApiLocality = { type: 'zone', zones: ['fr-par-1', 'fr-par-2'] }
// Case 2: region
public static readonly LOCALITY: ApiLocality = { type: 'region', regions: ['fr-par'] }
// Case 3: global
public static readonly LOCALITY: ApiLocality = { type: 'global' }
// Case 4: not defined
}
Migration
Both objects would be supported for a period of time (the former one with a @deprecated).
The text was updated successfully, but these errors were encountered:
Context
At the moment, the locality object of an API (example with Instance) is only providing part of the information.
What information would be useful:
Proposition
We could upgrade the object to this:
Which could lead to this object:
Migration
Both objects would be supported for a period of time (the former one with a
@deprecated
).The text was updated successfully, but these errors were encountered: