houdini
houdini copied to clipboard
Query variables function doesn't get props typings
Describe the bug
Since components are no longer classes, usage of the ComponentProps has also changed slightly:
The generation pipeline doesn't take this into account and simply generates the old way, even for svelte 5 components:
Reproduction
No response
Got the same issue. Hope the team will fix this soon.
@SeppahBaws Do you have a workaround for this issue?
@chutuananh2k You can work around it with this for now:
export const _MyQueryVariables: MyQueryVariables = ({ props }: { props: Props }) => {
...
};