Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions definitions/standard/runtime_definition/object/object-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,18 @@

## Removed
- remove

# 06.02.2026

## Added
- get


## Todo
current get impl looks like:
<K. T> get(object: Object<K>, key: Text): T
Comment thread
raphael-goetz marked this conversation as resolved.

But this should be changed to:
<K, T> get(object: Object<K>, key: T keyof K): T ofkey Object<K>

When the tucana definitions are adjusted
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"runtimeName": "std::object::get",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"genericType": {
"dataTypeIdentifier": "OBJECT",
"genericMappers": [
{
"source": [
{
"genericKey": "O"
}
],
"target": "T",
"genericCombinations": []
}
]
}
},
"runtimeName": "object",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Object"
}
],
"description": [
{
"code": "en-US",
"content": "The object that contains the value referenced by the key."
}
],
"documentation": []
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "TEXT"
},
"runtimeName": "key",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Key"
}
],
"description": [
{
"code": "en-US",
"content": "The property name under which the value will be referenced."
}
],
"documentation": []
}
],
"returnTypeIdentifier": {
"genericKey": "K"
},
"throwsError": false,
"genericKeys": [
"K",
Comment thread
raphael-goetz marked this conversation as resolved.
"O"
Comment thread
raphael-goetz marked this conversation as resolved.
],
"name": [
{
"code": "en-US",
"content": "Get Object's Value"
Comment thread
raphael-goetz marked this conversation as resolved.
Outdated
}
],
"description": [
{
"code": "en-US",
"content": "Returns the value of a property inside of the object."
Comment thread
raphael-goetz marked this conversation as resolved.
Outdated
}
],
"documentation": [],
"alias": [
{
"code": "en-US",
"content": "get;object;std"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "Get ${key} of ${object}"
}
],
"deprecationMessage": [],
"displayIcon": "tabler:cube"
}