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

feat: base class for all services #1295

Merged
merged 3 commits into from
Apr 12, 2023
Merged

feat: base class for all services #1295

merged 3 commits into from
Apr 12, 2023

Conversation

josephaxisa
Copy link
Contributor

No description provided.

zeckertG
zeckertG previously approved these changes Apr 12, 2023
Copy link
Contributor

@jkaster jkaster left a comment

Choose a reason for hiding this comment

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

This is looking good. I have some feedback before approving, though

packages/embed-services/src/ItemList.spec.ts Show resolved Hide resolved
packages/embed-services/src/ItemList.ts Outdated Show resolved Hide resolved
/**
* Creates an indexed collection from the cached items
*/
index(key: keyof T = this.keyField) {
Copy link
Contributor

Choose a reason for hiding this comment

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

love that you can set a default like this in TS

@josephaxisa josephaxisa merged commit b51f782 into main Apr 12, 2023
@josephaxisa josephaxisa deleted the jax/item-list branch April 12, 2023 23:20
This was referenced May 10, 2023
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.

3 participants