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 metrics #558

Merged
merged 1 commit into from
May 4, 2022
Merged

Fix metrics #558

merged 1 commit into from
May 4, 2022

Conversation

richard-cox
Copy link
Member

  • caused by recent change to normalizr
  • metrics had bad getId/idAttribute
  • normally it's better to fix this by adding a custom getId fn which returns the same id as that used by the action
  • the MetricsAction however creates a guid that cannot be recreated from just the metrics entity itself (used by getId)
  • solution is to be more specific with workaround to nromalizr

- metrics had bad getId/idAttribute
- better to add custom getId which matches the same process to create the guid in MetricsAction
  however the entity doesn't contain all the info required
- solution is to be more specific with workaround
@richard-cox richard-cox merged commit b4438a9 into master May 4, 2022
@richard-cox richard-cox deleted the fix-metrics branch May 4, 2022 14:10
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.

None yet

1 participant