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

Resolve Contains_key Closes #305 #603

Merged
merged 16 commits into from
Mar 27, 2024
Merged

Resolve Contains_key Closes #305 #603

merged 16 commits into from
Mar 27, 2024

Conversation

vsmalladi
Copy link
Contributor

Checklist

  • Pull request details were added to CHANGELOG.md
  • Valid examples WDL's were added or updated to the SPEC.md (see the guide on writing markdown tests)

@vsmalladi vsmalladi added this to the 1.2 milestone Jan 30, 2024
SPEC.md Outdated
### ✨ `contains_key`

```
Map[P, Y], P), Boolean contains_key(Map[P?, Y], P?)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator

@jdidion jdidion left a comment

Choose a reason for hiding this comment

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

Still something messed up with the signature codeblock. Other than that lgtm.

SPEC.md Outdated
### ✨ `contains_key`

```
Map[P, Y], Boolean contains_key(Map[P?, Y], P?)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Still something weird going on here. See for e.g. min and max for other functions with multiple variants.

Should be:

* Boolean contains_key(Map[P, Y], P)
* Boolean contains_key(Object, String)
* Boolean contains_key(Map[String, Y]|Struct|Object, Array[String])

@vsmalladi vsmalladi merged commit 346cca3 into wdl-1.2 Mar 27, 2024
@vsmalladi vsmalladi deleted the 305-contains-key branch March 27, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants