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

uik: Refactor config to use specific UIK types #3978

Merged
merged 5 commits into from
Jul 10, 2024
Merged

Conversation

mastercactapus
Copy link
Member

@mastercactapus mastercactapus commented Jul 10, 2024

Description:
Centralizes the UIK config from integrationkey.dbConfig to gadb.UIKConfig and uses the same models for GraphQL, eliminating a lot of copy-struct code.

Additionally, fixed the use of UUIDs in structs with GraphQL by telling gqlgen how to parse and serialize them.

  • Update UikConfig and related types to UIK-specific structs.
  • Modify GraphQL schema to match new UIK types.
  • Consolidate related validation and marshalling functions.
  • Update dependencies to latest versions.
  • Replace existing integration key actions with UIK-specific actions.
  • Ensure UUID compatibility in GraphQL schema.

- Update UikConfig and related types to UIK-specific structs.
- Modify GraphQL schema to match new UIK types.
- Consolidate related validation and marshalling functions.
- Update dependencies to latest versions.
- Replace existing integration key actions with UIK-specific actions.
- Ensure UUID compatibility in GraphQL schema.
- Added Arg and SetArg methods for safer argument access in DestV1
- Implemented Scan and Value for UIKConfig
- Replaced direct Args map access with Arg method across various modules
- Enhanced SignalMessage to support Param method
Corrected the function call parameter from `Params` to `Param` to ensure proper message handling in Slack notifications.
- Replace custom marshalling/unmarshalling logic with built-in GraphQL functions
- Remove unneeded imports to streamline codebase and reduce dependencies
@mastercactapus mastercactapus merged commit 4078867 into master Jul 10, 2024
7 checks passed
@mastercactapus mastercactapus deleted the gadb-uik-config branch July 10, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants