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

panc: Deprecated should always return boolean true #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jrha
Copy link
Member

@jrha jrha commented Jan 24, 2025

This allows us to start removing the hundreds of instances of ... with {deprecated(...); true;} in the schema.

It's not clear why it ever returned undef, but it appears to have been this way since the original rewrite in Java and looks like it was originally default boilerplate for new functions.

The documentation and comments claim it should be returning the string passed to it, but this has never been the case.

Resolves #243.

@jrha jrha added this to the 10.9 milestone Jan 24, 2025
@jrha jrha requested a review from stdweird January 24, 2025 15:46
@jrha jrha force-pushed the deprecated_true branch 3 times, most recently from daddb31 to 71d04a2 Compare January 27, 2025 10:25
This allows us to start removing the hundreds of instances of `... with {deprecated(...); true;}` in the schema.

It's not clear why it ever returned undef, but it appears to have been this way since the original rewrite in Java and looks like it was originally default boilerplate for new functions.
The documentation and comments claim it should be returning the string passed to it, but this has never been the case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

panc: deprecated function should return true
1 participant