Skip to content

Impr/logging #1396

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

Merged
merged 11 commits into from
Apr 12, 2023
Merged

Impr/logging #1396

merged 11 commits into from
Apr 12, 2023

Conversation

Druue
Copy link
Contributor

@Druue Druue commented Mar 20, 2023

Adds capability to log outputs for the WASM functions
This looks like:
image
image

closes #1390

@Druue Druue added this to the 4.12.0 milestone Mar 20, 2023
@github-actions
Copy link

github-actions bot commented Mar 20, 2023

🤖 Pull request artifacts

file commit
pr1396-prisma.vsix 96d1a38

github-actions bot added a commit that referenced this pull request Mar 20, 2023
@github-actions
Copy link

Copy link
Contributor

@janpio janpio left a comment

Choose a reason for hiding this comment

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

Generally this looks interesting.

Two things:

  1. The naming of onError/showErrorToast seems off to me. I left a comment in packages/language-server/src/util.ts that explains why I think that is.
  2. Can we test this somehow?

Copy link
Contributor

@jkomyno jkomyno left a comment

Choose a reason for hiding this comment

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

A few changes / replies to discussions are required, but you're on the right track

github-actions bot added a commit that referenced this pull request Mar 31, 2023
@Druue Druue modified the milestones: 4.12.0, 4.13.0 Mar 31, 2023
github-actions bot added a commit that referenced this pull request Mar 31, 2023
github-actions bot added a commit that referenced this pull request Apr 3, 2023
Druue added 7 commits April 3, 2023 12:51
formatting
eslint
The variant will use it's own name in `server.ts`
- to show what's being given, in this case `showErrorToast`
Added missing onError for previews path
Minor Refactor
- Moved findCursorPosition
- compositeTypeFieldNames
github-actions bot added a commit that referenced this pull request Apr 3, 2023
github-actions bot added a commit that referenced this pull request Apr 3, 2023
Added check for arg getting used
github-actions bot added a commit that referenced this pull request Apr 3, 2023
@Druue Druue requested a review from jkomyno April 4, 2023 09:16
github-actions bot added a commit that referenced this pull request Apr 12, 2023
github-actions bot added a commit that referenced this pull request Apr 12, 2023
github-actions bot added a commit that referenced this pull request Apr 12, 2023
@Druue Druue merged commit ca129b4 into main Apr 12, 2023
@Druue Druue deleted the impr/logging branch April 12, 2023 12:06
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.

[object Object] output in logging isn't helpful
3 participants