Skip to content

Support custom promise as remote value #9

@ScriptedAlchemy

Description

@ScriptedAlchemy

Currently I support a single string syntax as the input. Remote: global@url

Adding support for a promise new promise value would enable managed modules and other at runtime decisioning

Remote: “promise new Promise(res=>{
 fetch(‘someapi’�).then(()=>{
 Return ‘global@http://‘ 
}).then((dynamicConfig)=>{
Res(dynamicConfig)
})
})”

The idea here is that i still end up returning the current @ string syntax to the internal plugin mechanism. So all other parsing and setup can still be done, but would provide a functional way to determine what the string should be

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions