Commit Graph

  • 52eea5ce4c Added missing tests for casing boukeversteegh 2020-06-14 23:15:56 +02:00
  • 4b6f55dce5 Finish implementation and testing of client Nat Noordanus 2020-06-07 17:51:26 +02:00
  • fdbe0205f1 find_module docstring and search for init files instead of directories boukeversteegh 2020-06-14 22:54:03 +02:00
  • 09f821921f Move ServiceStub to a seperate module and add more rpcs to service test Nat Noordanus 2020-05-23 23:35:28 +02:00
  • a757da1b29 Adding basic support (untested) for client streaming Hans Lellelid 2020-05-11 15:30:29 -04:00
  • e2d672a422 Fix terminology, improve docstrings and add missing asserts to tests boukeversteegh 2020-06-14 21:40:12 +02:00
  • 63f5191f02 Shorten list selectors boukeversteegh 2020-06-14 16:54:34 +02:00
  • 87f4b34930 Revert "Support running plugin without installing betterproto" boukeversteegh 2020-06-14 16:52:33 +02:00
  • 2c360a55f2 Readability for generating init_files boukeversteegh 2020-06-14 16:51:52 +02:00
  • 04dce524aa fixed field types should be int James Lan 2020-06-11 22:23:45 -07:00
  • 8edec81b11 Switch from pipenv to poetry Nat Noordanus 2020-05-27 23:20:54 +02:00
  • 32c8e77274 Recompile Google Protobuf files boukeversteegh 2020-06-12 13:56:32 +02:00
  • d9fa6d2dd3 Fixes issue where generated Google Protobuf messages imported from betterproto.lib instead of using local forward references boukeversteegh 2020-06-12 13:55:55 +02:00
  • c88edfd093 Support running plugin without installing betterproto boukeversteegh 2020-06-12 13:54:14 +02:00
  • a46979c8a6
    Merge pull request #86 from danielgtaylor/boukeversteegh-patch-1 nat 2020-06-11 17:26:38 +02:00
  • 83e13aa606 Fix method name boukeversteegh 2020-06-11 00:43:58 +02:00
  • 3ca75dadd7 Remove dependency on stringcase, apply black boukeversteegh 2020-06-11 00:22:23 +02:00
  • 5d2f3a2cd9 Remove fixed test from xfail list #11 boukeversteegh 2020-06-11 00:06:50 +02:00
  • 65c1f366ef Update readme with new output structure and fix example inconsistencies boukeversteegh 2020-06-10 23:47:07 +02:00
  • 34c34bd15a Add failing test for importing a message from package that looks like a nested type #87 boukeversteegh 2020-06-10 23:29:01 +02:00
  • fb54917f2c Detect entry-point of tests automatically boukeversteegh 2020-06-10 22:42:38 +02:00
  • 1a95a7988e Ensure uniquely generated import aliases are not name mangled (python.org/dev/peps/pep-0008/#id34) boukeversteegh 2020-06-09 22:54:52 +02:00
  • 76db2f153e Add import aliases to ancestor imports boukeversteegh 2020-06-09 22:27:26 +02:00
  • 8567892352 Simplify logic for generating package init files boukeversteegh 2020-06-09 21:10:30 +02:00
  • 3105e952ea Fixes issue where importing cousin where path has a package with the same name broke import boukeversteegh 2020-06-09 21:07:20 +02:00
  • 7c8d47de6d Add test cases for cousin imports that break due to aliases starting with two underscores boukeversteegh 2020-06-08 17:28:58 +02:00
  • c00e2aef19 Break up importing logic in methods boukeversteegh 2020-06-08 08:26:25 +02:00
  • fdf3b2e764 Compile proto files based on package structure boukeversteegh 2020-06-07 17:00:02 +02:00
  • f7c2fd1194 Support nested messages, fix casing. Support test-cases in packages. boukeversteegh 2020-06-07 16:57:57 +02:00
  • d8abb850f8 Update tests to reflect new generated package structure boukeversteegh 2020-06-07 14:33:12 +02:00
  • d7ba27de2b fix all broken imports boukeversteegh 2020-06-05 12:33:51 +02:00
  • 57523a9e7f Implement importing unrelated package boukeversteegh 2020-06-05 00:33:02 +02:00
  • e5e61c873c Implement some import scenarios boukeversteegh 2020-06-04 23:57:12 +02:00
  • 9fd1c058e6 Create unit tests for importing boukeversteegh 2020-06-04 22:47:30 +02:00
  • d336153845 Use never expiring invitation link boukeversteegh 2020-06-11 13:49:53 +02:00
  • 9a45ea9f16
    Merge pull request #78 from boukeversteegh/pr/google nat 2020-06-11 10:50:12 +02:00
  • bb7f5229fb
    Add Slack invite link Bouke Versteegh 2020-06-10 17:30:18 +02:00
  • f7769a19d1 Pass betterproto option using custom_opt instead of environment variable boukeversteegh 2020-06-06 12:51:37 +02:00
  • 28a288924f Change to have parse *always* set serialized_on_wire Danny Weinberg 2020-06-04 16:20:32 -07:00
  • 5c700618fd Black again lol Danny Weinberg 2020-06-04 13:42:43 -07:00
  • a914306f33 Put test into test_features, simplify to call parse directly Danny Weinberg 2020-06-04 13:42:07 -07:00
  • 67422db6b9 Fix formatting Danny Weinberg 2020-06-04 11:34:20 -07:00
  • 061bf86a9c Set serialized_on_wire when message contains only lists Danny Weinberg 2020-06-04 11:04:36 -07:00
  • d31f90be6b Combine circular imports boukeversteegh 2020-06-04 00:11:22 +02:00
  • 919b0a6a7d Check if betterproto has wrapper support in idiomatic way boukeversteegh 2020-06-03 23:53:36 +02:00
  • 7ecf3fe0e6 Add comment to explain unusual import location boukeversteegh 2020-06-03 23:51:19 +02:00
  • ff14948a4e Use raw string for regex Bouke Versteegh 2020-06-01 23:24:04 +02:00
  • cb00273257 Fix name PROTOBUF_OPTS -> BETTERPROTO_OPTS Bouke Versteegh 2020-06-01 23:11:20 +02:00
  • 973d68a154 Add missing field to MockChannel to prevent warnings while testing boukeversteegh 2020-05-29 19:16:10 +02:00
  • ab9857b5fd Add test-case for service that returns google protobuf values boukeversteegh 2020-05-29 19:15:44 +02:00
  • 2f658df666 Use betterproto wrapper classes, extract to module for testability boukeversteegh 2020-05-29 19:13:55 +02:00
  • b813d1cedb Undo adding skip to test boukeversteegh 2020-05-29 17:59:21 +02:00
  • f5ce1b7108 Check that config.xfail contains valid test case names boukeversteegh 2020-05-29 16:46:04 +02:00
  • 62fc421d60 Add failing tests for google.protobuf Struct and Value #9 boukeversteegh 2020-05-29 16:45:32 +02:00
  • eeed1c0db7 Extend pre-compiled Duration and Timestamp instead of manual definition boukeversteegh 2020-05-29 15:37:58 +02:00
  • 2a3e1e1827 Add basic support for all google.protobuf types boukeversteegh 2020-05-29 15:37:14 +02:00
  • 53ce1255d3 Do not unwrap google.protobuf.Value and unsupported wrapper types boukeversteegh 2020-05-29 15:36:00 +02:00
  • e8991339e9 Use pre-compiled wrapper-classes boukeversteegh 2020-05-29 15:34:34 +02:00
  • 4556d67503 Include pre-compiled google protobuf classes boukeversteegh 2020-05-29 15:21:11 +02:00
  • f087c6c9bd Support compiling google protobuf files boukeversteegh 2020-05-29 15:19:00 +02:00
  • eec24e4ee8
    Merge pull request #77 from danielgtaylor/nat-n-patch-1 Bouke Versteegh 2020-05-30 20:52:35 +02:00
  • 91111ab7d8 Make plugin import errors more helpful nat 2020-05-28 19:28:53 +02:00
  • fcff3dff74
    Merge pull request #62 from jameslan/perf/cache-fields Bouke Versteegh 2020-05-29 12:17:25 +02:00
  • 5c4969ff1c
    Merge pull request #69 from boukeversteegh/pr/bugreports Bouke Versteegh 2020-05-28 09:07:11 +02:00
  • ed33a48d64 Cache field metadata, to avoid calling dataclasses.fields to get more than 10% performance improvement James Lan 2020-05-23 18:06:04 -07:00
  • ee362a7a73
    Merge pull request #73 from nat-n/always_black v1.2.5 v1 nat 2020-05-27 13:37:54 +02:00
  • 261e55b2c8
    Merge pull request #72 from nat-n/always_black nat 2020-05-27 12:27:33 +02:00
  • 98930ce0d7 Bump version to 1.2.5 Nat Noordanus 2020-05-27 12:04:53 +02:00
  • d7d277eb0d Remove typo from Pipfile and update Pipfile.lock Nat Noordanus 2020-05-27 11:30:10 +02:00
  • 3860c0ab11 Add task to run black --check in ci & update README Nat Noordanus 2020-05-27 11:15:53 +02:00
  • cd1c2dc3b5 Rename template file to avoid confusing black or other build tools Nat Noordanus 2020-05-27 10:56:52 +02:00
  • be2a24d15c blacken Nat Noordanus 2020-05-27 10:56:12 +02:00
  • a5effb219a
    Release 1.2.4 (#71) v1.2.4 Vasilios Syrakis 2020-05-27 06:17:55 +10:00
  • b354aeb692 Add dict to list of built-types for #53 boukeversteegh 2020-05-26 10:09:58 +02:00
  • 6d9e3fc580 Add issue references to failing test cases boukeversteegh 2020-05-25 23:43:01 +02:00
  • 72de590651 Remove unused proto file boukeversteegh 2020-05-25 23:27:36 +02:00
  • 3c70f21074 #70 Messages should allow fields that are Python keywords boukeversteegh 2020-05-25 23:27:23 +02:00
  • 4b7d5d3de4 #53 Crash when field has the same name as a system type boukeversteegh 2020-05-25 22:23:39 +02:00
  • 2d57f0d122
    Merge pull request #67 from danielgtaylor/nat-n-patch-1 Bouke Versteegh 2020-05-25 21:57:12 +02:00
  • 142e976c40 Add extra related test cases for #11 boukeversteegh 2020-05-25 21:56:03 +02:00
  • 382fabb96c #11 ALL_CAPS message fields are parsed incorrectly boukeversteegh 2020-05-25 21:50:30 +02:00
  • 18598e77d4 Remove renamed service from test input config boukeversteegh 2020-05-25 21:37:54 +02:00
  • 6871053ab2 #9 Import bug - returning well known type Empty from service boukeversteegh 2020-05-25 21:21:33 +02:00
  • 5bb6931df7 #25 Two packages with the same name suffix should not cause naming conflict boukeversteegh 2020-05-25 21:15:39 +02:00
  • e8a9960b73 Move configuration of test-cases to config file, include list of service tests boukeversteegh 2020-05-25 21:11:33 +02:00
  • f25c66777a #68 Service input messages are not imported boukeversteegh 2020-05-25 18:41:11 +02:00
  • a68505b80e
    Enforce utf-8 for reading the readme nat 2020-05-25 17:53:13 +02:00
  • 2f9497e064
    Merge pull request #55 from boukeversteegh/pr/xfail-tests nat 2020-05-25 09:54:26 +02:00
  • 33964b883e Do not use mutable defaults boukeversteegh 2020-05-25 00:35:43 +02:00
  • ec7574086d Add xfail test-case to for future circular dependency scenario boukeversteegh 2020-05-24 20:35:10 +02:00
  • 8a42027bc9 Improve failing test-case for issue #64 boukeversteegh 2020-05-24 20:33:48 +02:00
  • 71737cf696 Test case for issue #63 boukeversteegh 2020-05-24 20:29:32 +02:00
  • 659ddd9c44 Working test case for oneof boukeversteegh 2020-05-24 20:29:19 +02:00
  • 5b6997870a Test case for issue #61 boukeversteegh 2020-05-24 20:27:12 +02:00
  • cdf7645722 Test case for issue #60 boukeversteegh 2020-05-24 20:26:47 +02:00
  • ca20069ca3 Test case for issue #59 boukeversteegh 2020-05-24 20:26:13 +02:00
  • 59a4a7da43 Test case for issue #58 boukeversteegh 2020-05-24 20:25:29 +02:00
  • 15af4367e5 Test case for issue #57 boukeversteegh 2020-05-24 20:24:55 +02:00
  • ec5683e572 Test Service instantiation as part of standard test-case boukeversteegh 2020-05-24 20:02:41 +02:00
  • 20150fdcf3 Cleanup boukeversteegh 2020-05-24 19:58:49 +02:00