Skip to content
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

Export RecordShape type #1117

Merged
merged 3 commits into from Jul 27, 2023
Merged

Conversation

bigmontz
Copy link
Contributor

This type is the base type used to define the shape of the Record. Exporting this type enables user to use it for defining custom generic function to work with result and records without have to redefine the shape type.

The type was renamed from Dict to RecordShape for having a more meaningful name for external consumers.

This type is the base type used to define the shape of the Record.
Exporting this type enables user to use it for defining custom generic function to work with result and records without have to redefine the shape type.

The type was renamed from `Dict` to `RecordShape` for having a more meaniful name for external consumers.
@bigmontz bigmontz linked an issue Jul 26, 2023 that may be closed by this pull request
packages/core/src/result.ts Outdated Show resolved Hide resolved
@bigmontz bigmontz merged commit 865c085 into neo4j:5.0 Jul 27, 2023
44 checks passed
@bigmontz bigmontz deleted the 5.x-export-record-shape branch July 27, 2023 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[HELP] Type 'T' does not satisfy the constraint 'Dict'.
2 participants