ltijs
ltijs copied to clipboard
Platform identifier in onDynamicRegistration
Is your feature request related to a problem? Please describe. When a dynamic registration comes through, I want to be able to create records that reference some unique identifier in the recently created Platform.
Describe the solution you'd like
The call to DynamicRegistration.register
could pass back the result object used in registered.platformId()
, to give access to the newly created record to the caller.
Describe alternatives you've considered Manual registrations is a sufficient workaround, but dynamic registration is way cooler.
Additional context Nothing else!
Hello @PanopticaRising! I really like your suggestion. I am working right now at releasing a new version of Ltijs 6.0.0
with some breaking changes and functionalities. The change you are requesting would fit better in the new release as it changes how the DynamicRegistration class is used.
The new version should be out in the next two weeks. I'll make sure to include this change.
Thanks! I figured it would be, I've been trying to follow along with your changes. I'll be sure to check out v6.0.0 when it drops, and maybe contribute some typings.