Skip to content

Data Updates#45

Merged
GuilhermeF03 merged 10 commits into
mainfrom
feature/data-updates
Mar 14, 2026
Merged

Data Updates#45
GuilhermeF03 merged 10 commits into
mainfrom
feature/data-updates

Conversation

@GuilhermeF03

Copy link
Copy Markdown
Member

Summary
This PR renames the JSON/TOML parsing/serialization objects to simply Json/Toml. Also updates Contexts to accept ContextKey enums as keys.

Now users need to call 'getContext' on a node to get their context.

This makes code more readable long term.

Prevoious:

````kotlin
val a = resolve("data")
````

New (cleaner):
````kotlin
val context = getContext()
val a = context.resolve("data")
````
Renamed 'resolve' methods to 'fromContext'

This improves long-term readability
@GuilhermeF03 GuilhermeF03 added this to the 0.1.0 - Headless Version milestone Mar 14, 2026
@GuilhermeF03 GuilhermeF03 self-assigned this Mar 14, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in canopy-tasks Mar 14, 2026
@GuilhermeF03 GuilhermeF03 changed the title Feature/data updates PULL REQUEST - Feature/data updates Mar 14, 2026
@rcosta358 rcosta358 changed the title PULL REQUEST - Feature/data updates feat(data updates) Mar 14, 2026
@rcosta358 rcosta358 changed the title feat(data updates) feat: data updates Mar 14, 2026
@GuilhermeF03 GuilhermeF03 added enhancement New feature or request topic:data labels Mar 14, 2026

@DanielSousa01 DanielSousa01 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM 👍

@GuilhermeF03 GuilhermeF03 merged commit a7f4bf0 into main Mar 14, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in canopy-tasks Mar 14, 2026
@GuilhermeF03 GuilhermeF03 deleted the feature/data-updates branch March 15, 2026 00:11
@GuilhermeF03 GuilhermeF03 changed the title feat: data updates Data Updates Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants