Skip to content

add receiveParamsOfTypes as more comprehensive successor to receiveParamOfType#33

Merged
felixarntz merged 1 commit into
mainfrom
add-receiveParamsOfTypes
Jun 22, 2026
Merged

add receiveParamsOfTypes as more comprehensive successor to receiveParamOfType#33
felixarntz merged 1 commit into
mainfrom
add-receiveParamsOfTypes

Conversation

@felixarntz

Copy link
Copy Markdown
Collaborator

Pull Request Description

receiveParamOfType only checked whether any param of the function had that type. That's far from ideal and not quite specific enough.

This PR introduces receiveParamsOfTypes which expects an array of strings, the types for each function parameter.

receiveParamOfType remains functional for now, however it's deprecated and konsistent validate will now emit a warning if it's present in konsistent.json.

@felixarntz
felixarntz merged commit 5b8bda8 into main Jun 22, 2026
11 checks passed
@felixarntz
felixarntz deleted the add-receiveParamsOfTypes branch June 22, 2026 16:25
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.

1 participant