-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(php): add
list
to PHP reserved keywords; prevent escaping PHP m…
…ethod names. (#5233) * Implement PHP SDK short-term solution. * Update versions for both cli and php generator. * feat(typescript): introduce API Promise so that we can return raw response headers (#5218) * feat(typescript): RequestOptions takes in arbitrary headers (#5228) * feat(go): Simplify generated code (#5213) * feat(csharp): Make JsonSerializerOptions more configurable (#5227) Provide partial method ConfigureJsonSerializerOptions to let SDK maintainers customize JsonSerializerOptions * chore: update changelog * Define ENDPOINT_OVERRIDE_KEYWORDS in constants.ts * Update naming. --------- Co-authored-by: Deep Singhvi <[email protected]> Co-authored-by: Alex McKinney <[email protected]> Co-authored-by: Niels Swimberghe <[email protected]> Co-authored-by: eyw520 <[email protected]>
- Loading branch information
1 parent
c81bb89
commit 1eccbb0
Showing
8 changed files
with
84 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## 0.45.0-rc49 | ||
**`(fix):`** Add 'list' to reserved keywords for use in PHP generator. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.2.1 | ||
**`(fix):`** Override escaped method names in the generated client. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const RESERVED_METHOD_NAMES = ["use", "clone", "list"]; | ||
export const EXCEPTIONS_DIRECTORY = "Exceptions"; | ||
export const REQUESTS_DIRECTORY = "Requests"; | ||
export const TYPES_DIRECTORY = "Types"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.