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

fix:spec command lists all available configuration fields #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vikash390
Copy link
Collaborator

Description

spec command lists all available configuration fields

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Scenario A
  • Scenario B

Screenshots or Recordings

Related PR's (If Any):

@hash-data hash-data linked an issue Jan 30, 2025 that may be closed by this pull request
ServerRAM uint `json:"server_ram"`
MaxThreads int `json:"max_threads"`
Database string `json:"database"`
ServerRAM uint `json:"server_ram" validate:"required" gt:"0"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove server ram as it is not being used currently

Database string `json:"database"`
ServerRAM uint `json:"server_ram" validate:"required" gt:"0"`
MaxThreads int `json:"max_threads" validate:"required" gt:"0"`
Database string `json:"database" validate:"required"`
DefaultMode types.SyncMode `json:"default_mode"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

it is also required default value must be full_refresh for it

spec := make(map[string]interface{})
if generate {
Copy link
Collaborator

Choose a reason for hiding this comment

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

need to check purpose for generate. (adding comment for remembrance)

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.

Add go struct validation in Config (More Description Required)
2 participants