Commit Graph

190 Commits

Author SHA1 Message Date
Michael Lumish 7133635f1a Update golden and xds generated code for generator changes 2025-02-28 14:35:16 -08:00
Michael Lumish 7d39d52b77 proto-loader: declare oneof fields as optional 2025-02-28 14:31:45 -08:00
Michael Lumish 0ae86b13f0
Merge pull request #2731 from murgatroid99/proto-loader_dependency_update
proto-loader: Update dependency on protobufjs
2024-05-01 10:31:13 -07:00
Michael Lumish cf9cba6142 proto-loader: Update dependency on protobufjs 2024-04-30 10:35:48 -07:00
Michael Lumish b292946de7 proto-loader: Avoid generating duplicate method declarations in some cases 2024-04-09 14:45:35 -07:00
n0v1 6c7225f3ba make method options required 2024-04-09 18:21:33 +00:00
Christopher Fenn e6ac1a49ed return uninterpreted options as an array 2024-04-05 17:12:04 +02:00
Christopher Fenn 6e441a8d03 use single quotes consistently 2024-04-05 16:38:04 +02:00
Christopher Fenn 1e37caadfc add test case for partially set options 2024-04-05 16:37:03 +02:00
Christopher Fenn 27d608763b adjust implementation to always return default options 2024-04-05 16:23:29 +02:00
Christopher Fenn 99e8a060f6 make uninterpreted_option an array 2024-04-05 16:19:04 +02:00
Christopher Fenn 5bd37a9de1 narrow down type of idempotency_level 2024-04-05 16:00:28 +02:00
Christopher Fenn 260966c070 predefined options should always be returned with their default value 2024-04-05 16:00:04 +02:00
hiepthai 4c185fa2e6 grpc-loader: update interfaces & add new test 2024-04-05 15:32:26 +02:00
hiepthai d335428458 grpc-loader: cleanup MethodOptions interfaces 2024-04-05 15:32:26 +02:00
hiepthai 68ea1f43e2 grpc-loader: update & correct interface types 2024-04-05 15:32:26 +02:00
Hiep Thai ae33e8797a grpc-loader: export interfaces and fix minor issue 2024-04-05 15:32:26 +02:00
Hiep Thai dfb10f9ac4 grpc-loader: add method options test 2024-04-05 15:32:26 +02:00
Hiep Thai fc9db761a9 grpc-loader: map method options and add MethodOptions interface 2024-04-05 15:32:26 +02:00
Hiep Thai c8b5e05366 grpc-loader: update MethodDefinition interface 2024-04-05 15:32:26 +02:00
hiepthai c7d4566353 grpc-loader: add method options in MethodDefinition 2024-04-05 15:32:26 +02:00
Michael Lumish f7c3b3a3d8 Fix build order in root gulpfile to handle cross dependency 2024-04-01 15:22:23 -07:00
Michael Lumish d3e16a43ea proto-loader: Revert 'Import internal files with extension' 2024-03-27 10:09:27 -07:00
Michael Lumish eccccd9e8c proto-loader: Bump version to 0.7.11 2024-03-25 10:45:11 -07:00
Anton 055282a140 Update docs with recommended import method 2024-03-25 09:03:50 +01:00
Anton 8d69e9fa7a Fix tests 2024-03-25 08:58:28 +01:00
Anton 83d9f1c8b9 Import files with extension 2024-03-21 09:06:58 +01:00
Michael Lumish ab02dc0be4 proto-loader: Allow the grpcLib option to be omitted in the type generator 2023-09-13 16:57:45 -07:00
Michael Lumish a417e9bc3b proto-loader: Bump version to 0.7.9 2023-08-22 13:49:52 -07:00
Michael Lumish aee1789145 proto-loader: Increment version to prerelease version 2023-07-28 11:49:30 -07:00
Andrew Haines 9c3640f958
proto-loader: Update long dependency to match protobufjs
Signed-off-by: Andrew Haines <andrew@haines.org.nz>
2023-07-13 10:17:16 +01:00
Michael Lumish 513f72a4fc proto-loader: Increment version to 0.7.8 2023-07-11 10:54:15 -07:00
Lucio Martinez 31adc1dac1 Fixes security issue by upgrading `protobufjs` 2023-07-10 22:03:01 +00:00
Michael Lumish bc2447ccf6 proto-loader: Update to yargs@17.x 2023-04-28 10:58:09 -07:00
Michael Lumish d78d6d3b64 proto-loader: Bump to 0.7.6 2023-03-07 13:10:46 -08:00
install 31aec874dd proto-loader-gen-types Narrow field Long check
- Explicitly list the primitive field types that use Long, instead of
  searching for `64` in the type name.
2023-02-22 11:57:26 -05:00
Michael Lumish 1c4f12181a proto-loader: Bump version to 0.7.5 2023-02-13 13:33:34 -08:00
Daniel Rönnkvist ad298bc7c8 remove possible deprecated options from type brand output 2023-02-11 22:06:59 +01:00
Daniel Rönnkvist c20ddd3d2b write @deprecated jsdoc annotation if comments are enabled
update golden generated with @deprecated annotation
2023-02-10 17:52:59 +01:00
Michael Lumish 40ef3ec3a3 proto-loader: Bump to version 0.7.4 2022-12-05 13:59:55 -05:00
Taegeun Moon f1e3f6d7d3 use option method 2022-12-03 00:31:26 +09:00
Taegeun Moon 80332044c7 update typeBrandHint location 2022-12-01 14:12:10 +09:00
Taegeun Moon 256fbd8915 set defaults for brand option 2022-12-01 13:34:32 +09:00
Taegeun Moon 927c29de4a support both input and output
update readme

update readme
2022-12-01 13:34:31 +09:00
Taegeun Moon e955c47bd5 rename as outputBranded 2022-12-01 11:09:09 +09:00
Taegeun Moon 9e548d4d87 update readme 2022-11-30 22:34:15 +09:00
Taegeun Moon 6f755fe346 add branded option for proto-loader-gen-types 2022-11-30 22:31:22 +09:00
install ef7b8e8f14 Don't allow `null` for enum field inputs/outputs 2022-11-16 10:10:13 -05:00
install c7125fbdb5 proto-loader-gen-types Avoid TS enums 2022-11-15 16:44:52 -05:00
Michael Lumish 1c0b6459fe proto-loader: Bump to 0.7.3 2022-09-21 10:44:59 -07:00