Skip to content

Improved Namedspaced object support #1060

Open
@StartAutomating

Description

@StartAutomating

Namedspaced objects should support singletons (and they would, too, if not for a conversion gotcha)

They should also support a few more aliases for singletons, while we're at it.

Why? Because the average Joe might not know what a singleton is.

For reference: a singleton is an object that should only have one instance.

The following forms should be acceptable:

SomeNamespace Singleton SomeName @{key='value'}
SomeNamespace Single SomeName {$key='value'}
SomeNamespace Constant SomeName @{}
SomeNamespace Const SomeName @{} 
SomeNamespace The SomeName @{}

Additionally, a few more names should be acceptable as the object keyword:

SomeNamespace Objects SomeValue @{key='value'}
SomeNamespace Factory SomeValue
SomeNamespace Obj SomeValue
SomeNamespace A/An SomeValue
SomeNamespace Instance SomeValue

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions