Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return simple pojo and not Vector3 #4674

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Conversation

nabati
Copy link
Contributor

@nabati nabati commented Jul 23, 2024

Type of change

Bug

Jira ticket 📘

Thread: https://cognitedata.slack.com/archives/C8A0QGMLN/p1721723669208189

Description 📝

TLDR: getCurrentState was returning sets of Vector3 with the required fields rather than simple POJOs. IMHO this is slightly bad form even though Typescript allows it, so this PR remaps the Vector3s to POJOs.

How has this been tested? 🔍

Didn't

Test instructions ℹ️

Checklist ☑️

@nabati nabati requested a review from a team as a code owner July 23, 2024 14:19
Copy link
Contributor

@haakonflatval-cognite haakonflatval-cognite left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@nabati nabati enabled auto-merge (squash) July 23, 2024 16:05
@nabati nabati merged commit a626cc9 into master Jul 24, 2024
14 checks passed
@nabati nabati deleted the pn/fix-get-viewer-state branch July 24, 2024 08:30
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.

2 participants