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

Wrong snake-case when filed name contains number #187

Open
HosamHasanRamadan opened this issue Apr 15, 2024 · 0 comments
Open

Wrong snake-case when filed name contains number #187

HosamHasanRamadan opened this issue Apr 15, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@HosamHasanRamadan
Copy link

Actual
Field name : immediateSpo2Threshold -> Snake Case: immediate_spo2threshold

Expected:
Field name : immediateSpo2Threshold -> Snake Case: immediate_spo2_threshold

@MappableClass(
  caseStyle: CaseStyle.snakeCase,
)
class Thresholds with ThresholdsMappable {
  final int immediateSpo2Threshold;
   const Thresholds({
    required this.immediateSpo2Threshold,
  });
}
@schultek schultek added bug Something isn't working good first issue Good for newcomers labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants