Skip to content

Legg til lastUpdated fra taksonomi i search-api#948

Merged
gunnarvelle merged 3 commits into
masterfrom
node-updated-at
May 12, 2026
Merged

Legg til lastUpdated fra taksonomi i search-api#948
gunnarvelle merged 3 commits into
masterfrom
node-updated-at

Conversation

@gunnarvelle
Copy link
Copy Markdown
Member

Exposes updatedAt field in taxonomy-api and index in search-api

@gunnarvelle gunnarvelle requested a review from a team May 7, 2026 13:53
@gunnarvelle
Copy link
Copy Markdown
Member Author

La til funksjonalitet som passer på at updated alltid er satt.

private Instant created_at;

@Column
@UpdateTimestamp
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Forsøkte først å ha både CreationTimestamp og UpdateTimestamp på denne men det likte ikkje hibernate, så bytta ut med prePersist som kjøres på første lagring og preUpdate som kjører på kvar oppdatering.

@gunnarvelle gunnarvelle merged commit 848282f into master May 12, 2026
25 checks passed
@gunnarvelle gunnarvelle deleted the node-updated-at branch May 12, 2026 11:50
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