Skip to content

Fix entry point re-exports #570

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

Merged
merged 3 commits into from
Aug 18, 2020

Conversation

puzpuzpuz
Copy link
Contributor

@puzpuzpuz puzpuzpuz commented Aug 12, 2020

Depends on #568

  • Introduces index.ts files in subdirs for the purpose of re-exporting public modules. This way root index.ts (the entry point) becomes much simpler and it's simpler to make sure that we export all public APIs from the entry point
  • Introduces Portable module which contains public API definitions for portable serialization
  • Moves modules into subdirs, so the overall structure is more consistent
  • Merges certain related modules into a single one
  • Adds documentation for wildcard names and default DS configurations
  • Changes MembershipListener registration id type to string (was UUID), so it becomes consistent with registration types for other listeners (e.g. IMap#addEntryListener)
  • Includes a bunch of improvements in tsdoc and code style

Client protocol counterpart PR: hazelcast/hazelcast-client-protocol#336

@puzpuzpuz
Copy link
Contributor Author

verify

@puzpuzpuz puzpuzpuz force-pushed the v4.0/cleanup/refactor-modules branch from 31844ab to ad61c99 Compare August 14, 2020 08:14
@puzpuzpuz puzpuzpuz changed the title [WIP] Clean up modules and API Fix entry point re-exports Aug 14, 2020
@puzpuzpuz puzpuzpuz force-pushed the v4.0/cleanup/refactor-modules branch from ad61c99 to 183ff59 Compare August 14, 2020 08:24
Includes the following:
* Introduces index.ts files in subdirs for the purpose of re-exporting public modules
* Introduces Portable module which contains public API definitions for portable serialization
* Moves modules into subdirs, so the overall structure is more consistent
* Merges certain related modules into a single one
* Changes MembershipListener registration id type to string (was UUID), so it becomes consistent with registration types for other listeners (e.g. IMap#addEntryListener)
* Adds documentation for wildcard names and default DS configurations
* Includes a bunch of improvements in tsdoc and code style
@puzpuzpuz puzpuzpuz force-pushed the v4.0/cleanup/refactor-modules branch from 183ff59 to 6dfda9a Compare August 14, 2020 08:25
@puzpuzpuz puzpuzpuz requested a review from mdumandag August 14, 2020 08:26
Copy link
Contributor

@mdumandag mdumandag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, looks good to me. There are lots of imports can be shortened warnings shown in WebStorm but I think this is not a big problem.

Also improves code style is some tests
@puzpuzpuz
Copy link
Contributor Author

puzpuzpuz commented Aug 18, 2020

In general, looks good to me. There are lots of imports can be shortened warnings shown in WebStorm but I think this is not a big problem.

@mdumandag
I don't see such suggestions in VS Code, but yes, imports can be improved further, but that can be improved incrementally in upcoming PRs.

It seems that I have addressed all pending comments. Could you take another look?

@puzpuzpuz puzpuzpuz merged commit bc44309 into hazelcast:master Aug 18, 2020
@puzpuzpuz puzpuzpuz deleted the v4.0/cleanup/refactor-modules branch August 18, 2020 07:39
harunalpak pushed a commit to harunalpak/hazelcast-nodejs-client that referenced this pull request Dec 8, 2022
Includes the following:
* Introduces index.ts files in subdirs for the purpose of re-exporting public modules
* Introduces Portable module which contains public API definitions for portable serialization
* Moves modules into subdirs, so the overall structure is more consistent
* Merges certain related modules into a single one
* Changes MembershipListener registration id type to string (was UUID), so it becomes consistent with registration types for other listeners (e.g. IMap#addEntryListener)
* Adds documentation for wildcard names and default DS configurations
* Includes a bunch of improvements in tsdoc and code style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants