Skip to content

moved object get into new object function module#175

Merged
raphael-goetz merged 4 commits intomainfrom
#174-rebase-issues
Apr 23, 2026
Merged

moved object get into new object function module#175
raphael-goetz merged 4 commits intomainfrom
#174-rebase-issues

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #174

Copilot AI review requested due to automatic review settings April 23, 2026 20:24
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/taurus/-/pipelines/2475629789

Status: Passed
Duration: 1 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14066571638/artifacts/out/index.html

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restores the missing standard function std::object::get (lost during rebasing per issue #174) by reintroducing an object-field lookup handler in taurus-core, and documenting a dedicated runtime error code for missing keys.

Changes:

  • Added std::object::get to the taurus-core object function registry and implemented the handler.
  • Added unit tests covering successful get lookups (string field, nested struct field) and a missing-field case.
  • Documented new standard error code T-STD-00002 for missing object keys; removed the legacy object function module from the old crate path.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
crates/taurus-core/src/runtime/functions/object.rs Reintroduces std::object::get handler and adds tests for object field retrieval.
crates/taurus-core/src/ERROR_CODES.md Adds T-STD-00002 to the canonical runtime error catalog.
crates/core/src/runtime/functions/object.rs Removes the legacy object function implementation (including the prior get).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/taurus-core/src/runtime/functions/object.rs Outdated
Comment thread crates/taurus-core/src/runtime/functions/object.rs Outdated
Comment thread crates/taurus-core/src/runtime/functions/object.rs
Comment thread crates/taurus-core/src/ERROR_CODES.md Outdated
raphael-goetz and others added 3 commits April 23, 2026 22:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@raphael-goetz raphael-goetz merged commit 9a4471d into main Apr 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Function std::object::get was lost while rebasing

2 participants