Skip to content

Commit 8f16ba8

Browse files
authored
Merge pull request #1154 from appwrite/fix-dart-service-casing
Fix dart service filename casing
2 parents 95d3dd7 + b575cda commit 8f16ba8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SDK/Language/Dart.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ public function getFiles(): array
414414
],
415415
[
416416
'scope' => 'service',
417-
'destination' => '/lib/services/{{service.name | caseDash}}.dart',
417+
'destination' => '/lib/services/{{service.name | caseSnake}}.dart',
418418
'template' => 'dart/lib/services/service.dart.twig',
419419
],
420420
[
@@ -429,7 +429,7 @@ public function getFiles(): array
429429
],
430430
[
431431
'scope' => 'service',
432-
'destination' => '/test/services/{{service.name | caseDash}}_test.dart',
432+
'destination' => '/test/services/{{service.name | caseSnake}}_test.dart',
433433
'template' => 'dart/test/services/service_test.dart.twig',
434434
],
435435
[

src/SDK/Language/Ruby.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function getFiles(): array
164164
],
165165
[
166166
'scope' => 'service',
167-
'destination' => '/lib/{{ spec.title | caseDash}}/services/{{service.name | caseDash}}.rb',
167+
'destination' => '/lib/{{ spec.title | caseDash}}/services/{{service.name | caseSnake}}.rb',
168168
'template' => 'ruby/lib/container/services/service.rb.twig',
169169
],
170170
[

0 commit comments

Comments
 (0)