Skip to content
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

GObject.ParamSpec.* blurb and nick are nullable #224

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

JumpLink
Copy link
Collaborator

@JumpLink JumpLink commented Nov 13, 2024

Description

GObject.ParamSpec.* blurb and nick are nullable now

Related Issue

Fixes #218

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Type definition update
  • Documentation update

Validation

Test Location: examples/gobject-param-spec/main.ts

Test Case:

// Minimal test case demonstrating the changes
import GObject from 'gi://GObject';

GObject.ParamSpec.string(
        "title",
        null,
        null,
        GObject.ParamFlags.READWRITE,
        "",
      )

Expected Behavior:

  1. Code should compile without type errors
  2. Runtime behavior should match documentation/GJS implementation

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes
  • I have updated the documentation accordingly

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.

GObject.ParamSpec.*'s blurb and nick should be nullable
1 participant