Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

+ Fix Attachment model missing type definition for mrkdwnIn #59

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

Conversation

indratjhai
Copy link

Missing mrkdwnIn type definition got me JMS\Serializer\Exception\RuntimeException with message: "You must define a type for CL\Slack\Model\Attachment::$mrkdwnIn" when calling channel.invite API (the API returns latest posts containing attachments.) I suppose this will also occurs on other API returning attachments.

@nik-petrov
Copy link

getting the same error

@cleentfaar, have you had chance to review this PR? Will be great to get new release with this fix

@jgedarovich
Copy link

just ran into this error as well. But in addition to this pr I had to add:

titleLink:
     type: string

@RoccoHoward
Copy link

I've imported this package into my own package and incorporated your changes.

https://github.com/bluora/php-slack-api

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants