question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

S145: ParserModel not implemented yet (kind:178)

See original GitHub issue

I 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:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kamilafsarcommented, Nov 3, 2022

Just tested this, I can confirm this is a bug. I’ll try to fix this asap.

0reactions
parwebcommented, Nov 4, 2022

No worries it’s for a hobby project love the phylosophy of your tool 👍 Happy to help stabalize it

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found