Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: implove typing and fix fetching not exist documents
Browse files Browse the repository at this point in the history
  • Loading branch information
ishowta committed Jul 2, 2022
2 parents b9b7aec + a31906d commit 9e14b42
Show file tree
Hide file tree
Showing 16 changed files with 1,535 additions and 1,113 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ module.exports = {
version: 'detect',
},
},
ignorePatterns: ['/*.js'],
ignorePatterns: ['/*.js', '/example/*.js'],
};
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ export const App = () => {
## TODO

- fix bug
- result do not update on loading
- should loading variable turn to true when onSnapshot
- do not use path as key
- add tests
- refactor
- distinguish GraphQuery and GraphQueryFactory
- nested document data
- better error handling
- typing internal code
- error handling
- more strict types
- snapshot option
- fragment query
Expand All @@ -47,3 +46,5 @@ export const App = () => {
- performance
- keep unchanged field
- support class(withConverter)?
- internal typing strictly
- subquery k/v type
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"start": "vite",
"build": "vite build",
"emulator": "cd .. && yarn emulator"
"emulator": "cd .. && pnpm emulator"
},
"dependencies": {
"react-app-polyfill": "^3.0.0"
Expand All @@ -22,6 +22,6 @@
"@types/react-dom": "^17.0.11",
"vite": "latest",
"vite-preset-react": "latest",
"typescript": "^4"
"typescript": "~4.5.5"
}
}
Loading

0 comments on commit 9e14b42

Please sign in to comment.