Altinn / Altinn/app-lib-dotnet

Use CloudNative.CloudEvents nuget package instead of creating our own models

Open
#154 0 comments 0 reactions 0 assignees View on GitHub
kind/chore
Dominant language
C#
Stars
8
Forks
27
Avg merge
1h 21m
Merged PRs (30d)
7

Description

### Description

Currently we use our own class implementing the CloudEvent type. This forces us to keep it in sync with the standard implementation with regards to what fields are mandatory and not. Currently we have wrong implementation of what fields are nullable causing issues when using this model.

### Additional Information

_No response_

### Tasks

_No response_

### Acceptance Criterias

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing class that implements the CloudEvent type and all of its usages in the library. Compare those usages with the CloudNative.CloudEvents NuGet package, then verify that the replacement handles nullable and mandatory fields correctly and preserves existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.