Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upErrors do not respect the June2018 specs #71
Comments
This comment has been minimized.
This comment has been minimized.
Thanks for the feedback, I will +1 this to the team on your behalf. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the June 2008 specs, Errors adds the
extensions
entry. It also discourages the usage of any other additional entries.AppSync should honor those specs and drop the
data
,errorInfo
anderrorType
entries from the errors. Instead, it should implement theextensions
one.$util.error
should probably become$util.error(String)
and$util.error(String, Object)
Where the first argument is the message string, and the second an optional
extensions
map.