Deprecate context.add
function
#2476
Labels
module/graphql
Issues related to Ballerina GraphQL module
Points/0.5
Team/PCM
Protocol connector packages related issues
Type/Improvement
Description:
In the
graphql:Context
object, there is anadd
function to add attributes to the context. But as per the convention, (similar tohttp
package), the function name should beset
instead ofadd
.Since this change will be a breaking change, the
add
function have to be deprecated and theset
function should be introduced. In a later release, theadd
function can be removed.The text was updated successfully, but these errors were encountered: