S145: ParserModel not implemented yet (kind:178)
See original GitHub issueI think I find a bug or missing feature
in my phero.ts file I’ve got
import { createService } from '@phero/server';
type Id = number | string;
interface User {
id: Id;
email: string;
}
async function update(data: Partial<User>): Promise<User> {
return { id: 1, email: 'plop@email.com' };
}
export const user = createService({ update });
but got an error
error TS-PheroError:
S145: ParserModel not implemented yet: `Id` (kind:178)
When I debug the code I find the problematic line
Partial<User>
on async function update(data: Partial<User>): Promise<User> {
indeed if we change Partial<User>
to User
for example everything is ok
Is it an known bug ?
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Untitled
... https://answers.microsoft.com/en-us/outlook_com/forum/all/outlook-not- ... how-to-parse-delimited-data-in-excel-365/42304608-bc07-49bc-a8b1-223c992626f1 ...
Read more >outwatch/outwatch.github.io - GitHub
</p> <p>If anything is not working, cross-check how things are done in the ... 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Convert html to outwatch</h3> ......
Read more >Release Notes — Axon Ivy Platform 9.3 documentation
What is Axon Ivy? Why Axon Ivy? Migration; Release Notes. Designer Guide · Engine Guide · Concepts · Portal Guide. Resources. Market ·...
Read more >Increased risk of anal squamous cell carcinoma in HIV ... - NCBI
A negative association between no HAART use at endpoint and anal SCC risk was significant in unadjusted, but not adjusted models.
Read more >Proceedings from the 12th Annual Conference on the Science ...
Implementation strategies addressing Aim 1 included: 1) practice coaching to address stigma, knowledge gaps and support quality improvement, 2) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just tested this, I can confirm this is a bug. I’ll try to fix this asap.
No worries it’s for a hobby project love the phylosophy of your tool 👍 Happy to help stabalize it