beamable / BeamableProduct

The beamable product suite including com.beamable, com.beamable.server, microservice base image, portal, the installer, and build scripts
Other
3 stars 0 forks source link

Allow content-is-changed override in custom, per-developer code #3512

Open allister-beamable opened 1 week ago

allister-beamable commented 1 week ago

Is your feature request related to a problem? Please describe.

Sometimes the function that detects whether a Beamable Content entry (such as for determining which content entries should be included in a publish, and to show the blue "changed" badge in Content Manager) gets confused by data structures that might be functionally the same but lead to a different checksum. In the past, this has occurred for Beamable built-in content that includes schedules, since the cron expression can be mutated structurally while keeping the same semantic meaning. In cases like that, it would be nice to selectively suppress the "is changed" predicate.

Describe the solution you'd like

As a Game Maker, in order to control the changed-nature of content entries my team is authoring, I would like to create a custom, in-house function that overrides the "is this content entry changed?" decision. If I could override some kind of IsContentChanged(ContentRef theContent /* ... maybe some other context, too? ... */) function using dependency injection, that would be great.

Describe alternatives you've considered

At present, no alternatives seem to be available short of forking and modifying the Beamable SDK wholesale.