-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Detaching ez
namespace for proprietary schemas
#850
Merged
Merged
Conversation
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
RobinTail
commented
Mar 4, 2023
@@ -27,7 +27,8 @@ export { withMeta } from "./metadata"; | |||
export { testEndpoint } from "./mock"; | |||
export { Client } from "./client"; | |||
|
|||
import * as z from "./extend-zod"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RobinTail
changed the title
Experiment: Detaching
Detaching Mar 8, 2023
ez
namespace for proprietary schemasez
namespace for proprietary schemas
21 tasks
RobinTail
added a commit
that referenced
this pull request
Mar 20, 2023
* Moving proprietary schemas into ez namespace. (#850) * Stop re-exporting `zod` (#865) * Stop reexporting zod. * Temp enabling the workflows. * Moving zod to dev and peers. * Add zod into ESM and intergration package generator. * Readme: adjusting the quick start which is used for integration test generator. * Making `express` a peer (#866) * Making express to be a peer and dev dependency. * Making @types/express an optional peer. * Making typescript dev and peer. (#867) * Ref: listing the new dev dependencies more loose. * Switching to `tsup` (#584) * Installing tsup and including the sample configuration. * Changing the build approach. * Changing paths in package.json. * Changing path to the ESM package in the ESM package generator. * Removing the deleted folder from ignores. * Moving the ESM package tool to onSuccess of the tsup config. * Using minify. * Preserving DTS split by tsc. * Fix int and esm tests. * Min Node version 14.18.0. * Upgrading tsup. * No need for the cleanup command. * Using the DTS generator of TSUP (finally). * Validate types in test command. * Shorten commands. * More advanced esm test preparation and details. * Revert "More advanced esm test preparation and details." This reverts commit 32c6539. * Min typescript version (peer) is 4.9.3. * Changelog: the upcoming version 10.0.0-beta1. * Readme: changing the installation instruction and import examples. * 10.0.0-beta1 * Integration and ESM tests: install peers according to the lib package.json. * Revert: no peers needed — it leads to lack of regular dependencies, like mime. * Immutable `withMeta` (#852) * Sample implementation for making withMeta immutable. * Adjusting the first test. * Fix: utilizing ramda/clone to ensure immutable example() method. * Fix: making copyMeta() immutable. * Fix: making getFinalEndpointInputSchema() immutable. * Fix: making defaultResultHandler::getPositiveResponse() immutable. * Add the specific test provided by the issue author. * Optimizing for single meta. * Minor: naming. * Ref: more elegant defaultResultHandler. * Ref: more elegant implementation for getFinalEndpointInputSchema(). * Minor: rem excessive type param. * Minor: comment. * Ref: no need to deconstruct in cloneSchemaForMeta(). * Security: introducing the 10x. * v10 is for Gisberta Salce Júnior. * Changelog: upcoming 10.0.0-beta2. * 10.0.0-beta2 * Breaking: Client constructor now accepts object of parameters. * Changelog: upcoming 10.0.0-beta3. * Readme: Listing the breaking change to Client. * Changelog: updating desc of 10.0.0-beta3. * 10.0.0-beta3 * Fix .npmignore against prev ESM dist location. * Changelog: 10.0.0-beta4. * 10.0.0-beta4 * Fix dts path in package.json. * Switching to SWC 🐎 (#877) * Using SWC for tests. * Fixing express mocking. * Easier express mock. * Removing redundant beforeEach and export of mocker. * Easier mock (2). * Removing ts-jest. * Enabling SWC for ts-node. * Minor adjustments. * Fix unused export. * Exclude index.ts from coverage evaluation. * Fixed another unused export. * Testing the exports of index entrypoint. * ESLint: allow all imports in tests. * Ref: better implementation for index test. * Test on 19.7. * Security: update link. * CHangelog: upcoming 10.0.0-beta5. * 10.0.0-beta5 * Revert "Test on 19.7." This reverts commit 0a2b228. * Revert "Revert "Test on 19.7."" This reverts commit b77a9b7. * Revert "Test on 19.7." This reverts commit 0a2b228. * Changelog: upcoming 10.0.0-beta6. * 10.0.0-beta6
RobinTail
added a commit
that referenced
this pull request
Mar 21, 2023
* Moving proprietary schemas into ez namespace. (#850) * Stop re-exporting `zod` (#865) * Stop reexporting zod. * Temp enabling the workflows. * Moving zod to dev and peers. * Add zod into ESM and intergration package generator. * Readme: adjusting the quick start which is used for integration test generator. * Making `express` a peer (#866) * Making express to be a peer and dev dependency. * Making @types/express an optional peer. * Making typescript dev and peer. (#867) * Ref: listing the new dev dependencies more loose. * Switching to `tsup` (#584) * Installing tsup and including the sample configuration. * Changing the build approach. * Changing paths in package.json. * Changing path to the ESM package in the ESM package generator. * Removing the deleted folder from ignores. * Moving the ESM package tool to onSuccess of the tsup config. * Using minify. * Preserving DTS split by tsc. * Fix int and esm tests. * Min Node version 14.18.0. * Upgrading tsup. * No need for the cleanup command. * Using the DTS generator of TSUP (finally). * Validate types in test command. * Shorten commands. * More advanced esm test preparation and details. * Revert "More advanced esm test preparation and details." This reverts commit 32c6539. * Min typescript version (peer) is 4.9.3. * Changelog: the upcoming version 10.0.0-beta1. * Readme: changing the installation instruction and import examples. * 10.0.0-beta1 * Integration and ESM tests: install peers according to the lib package.json. * Revert: no peers needed — it leads to lack of regular dependencies, like mime. * Immutable `withMeta` (#852) * Sample implementation for making withMeta immutable. * Adjusting the first test. * Fix: utilizing ramda/clone to ensure immutable example() method. * Fix: making copyMeta() immutable. * Fix: making getFinalEndpointInputSchema() immutable. * Fix: making defaultResultHandler::getPositiveResponse() immutable. * Add the specific test provided by the issue author. * Optimizing for single meta. * Minor: naming. * Ref: more elegant defaultResultHandler. * Ref: more elegant implementation for getFinalEndpointInputSchema(). * Minor: rem excessive type param. * Minor: comment. * Ref: no need to deconstruct in cloneSchemaForMeta(). * Security: introducing the 10x. * v10 is for Gisberta Salce Júnior. * Changelog: upcoming 10.0.0-beta2. * 10.0.0-beta2 * Breaking: Client constructor now accepts object of parameters. * Changelog: upcoming 10.0.0-beta3. * Readme: Listing the breaking change to Client. * Changelog: updating desc of 10.0.0-beta3. * 10.0.0-beta3 * Fix .npmignore against prev ESM dist location. * Changelog: 10.0.0-beta4. * 10.0.0-beta4 * Fix dts path in package.json. * z.lazy() for Client: sample implementation. * Ref: extracting GeneratorParams. * Ref: moving createTypeAlias() call into makeAlias(). * Ref: changing hasRef() to getRef() in OpenAPI. * Ref: changing hasAlias() to getAlias() in Client and ZTS. * Ref: minor, DNRY in Client. * Ref: using IIFE syntax for resolving lazy cases.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This may help with #584 and #822