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

Legg til erstatningskey i melding for forespoersel-ID #772

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

bjerga
Copy link
Contributor

@bjerga bjerga commented Nov 14, 2024

Dette er innsats for å strømlinjeforme formatet på meldingsnøklene våre, der vi i gamle dager kjørte en "gjør hva du vil"-policy.

Denne PR-en tar for seg verstingen FORESPOERSEL_ID, som har utstrakt bruk. Det legges til en ny key med nytt format i de meldingene der den gamle keyen er tilstede.

Fordi vi har strenge tester (🥳) så tok jeg en snarvei for å ikke måtte manuelt endre en haug med tester. Snarveien besto av en replace allshouldContainExactly for å bytte med den mer tilgivelige shouldContainAllExcludingTempKey. Disse testendringene skal reverseres i neste PR.

@bjerga bjerga requested a review from a team as a code owner November 14, 2024 13:37
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Endringene i denne filen vil vi beholde, unntatt bruken av shouldContainAllExcludingTempKey .

Comment on lines -292 to +293
): Map<Key, Any> =
): Map<Key, JsonElement> =
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Denne endringen vil vi beholde.

Comment on lines -28 to +29
Key.FORESPOERSEL_ID to fail.forespoerselId?.toJson(),
Key.FORESPOERSEL_ID to fail.forespoerselId.shouldNotBeNull().toJson(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Denne endringen vil vi beholde.

@bjerga
Copy link
Contributor Author

bjerga commented Nov 14, 2024

Testet OK.

Copy link
Contributor

@magnusae magnusae left a comment

Choose a reason for hiding this comment

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

💯

@bjerga bjerga merged commit 3110dd7 into main Nov 15, 2024
74 checks passed
@bjerga bjerga deleted the dev/ny-key-forespoersel-id-fase-1 branch November 15, 2024 09:32
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