Skip to content

[Jex generation] Add check for non null result in generated code #519

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 1 commit into from
Nov 27, 2024

Conversation

rbygrave
Copy link
Contributor

Example:

    var result = controller.someMethod(args);
    if (result != null) {
      ctx.json(result);
    }

Example:

    var result = controller.someMethod(args);
    if (result != null) {
      ctx.json(result);
    }
@rbygrave rbygrave requested a review from SentryMan November 27, 2024 05:49
@rbygrave rbygrave self-assigned this Nov 27, 2024
@SentryMan SentryMan enabled auto-merge November 27, 2024 05:50
@SentryMan SentryMan merged commit dbf374f into master Nov 27, 2024
7 checks passed
@SentryMan SentryMan deleted the feautre/jex-gen-resultNullCheck branch November 27, 2024 05:51
@SentryMan SentryMan added the enhancement New feature or request label Nov 27, 2024
@SentryMan SentryMan added this to the 2.9 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants