addOrUpdateIntegration<T>(defaultIntegrationInstance, userIntegrations, forcedOptions?): T
Enforces inclusion of a given integration with specified options in an integration array originally determined by the
user, by either including the given default instance or by patching an existing user instance with the given options.
Ideally this would happen when integrations are set up, but there isn't currently a mechanism there for merging
options from a default integration instance with those from a user-provided instance of the same integration, only
for allowing the user to override a default instance entirely. (TODO: Fix that.)
Enforces inclusion of a given integration with specified options in an integration array originally determined by the user, by either including the given default instance or by patching an existing user instance with the given options.
Ideally this would happen when integrations are set up, but there isn't currently a mechanism there for merging options from a default integration instance with those from a user-provided instance of the same integration, only for allowing the user to override a default instance entirely. (TODO: Fix that.)