Skip to content

Commit

Permalink
chore: Added systemlabel to graphql (#1236)
Browse files Browse the repository at this point in the history
## Description

Added systemLabel to graphQL

## Related Issue(s)

## Verification

- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced a new `systemLabel` field to the `Dialog` type, enhancing
metadata associated with each dialog.


<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Amund Myrbostad <amund.myrbostad@digdir.no>
  • Loading branch information
Fargekritt and Fargekritt authored Oct 7, 2024
1 parent 29b90c1 commit 8e2979c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/schema/V1/schema.verified.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ type Dialog {
createdAt: DateTime!
updatedAt: DateTime!
dialogToken: String
systemLabel: SystemLabel!
status: DialogStatus!
content: Content!
attachments: [Attachment!]!
Expand Down Expand Up @@ -391,4 +392,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"

scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")

scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Digdir.Domain.Dialogporten.GraphQL.EndUser.Common;
using Digdir.Domain.Dialogporten.GraphQL.EndUser.MutationTypes;

namespace Digdir.Domain.Dialogporten.GraphQL.EndUser.DialogById;

Expand Down Expand Up @@ -50,6 +51,8 @@ public sealed class Dialog

public string? DialogToken { get; set; }

public SystemLabel SystemLabel { get; set; }

public DialogStatus Status { get; set; }

public Content Content { get; set; } = null!;
Expand Down

0 comments on commit 8e2979c

Please sign in to comment.