Open ayeshLK opened 3 years ago
Moving this issue to the spec repo since the spec currently allows the @deprecated
annotation only on object fields.
Is there any plan to support this? This is needed for GraphQL to fully support the @deprecate
directive, which is a default directive defined by the GraphQL spec.
Any update on the issue? HTTP has the same requirement to deprecate config(record) fields as new(improved) fields are being added.
Supporting this is straightforward. But I wonder, once you deprecated a field, what is the strategy to introduce a new field or a record? Because there is a possibility of the new field/record may break backward compatibility.
Description:
@deprecated
.Describe your problem(s)
@deprecated
. Currently this is not supported in ballerina-lang.Sample
a:ApiConfig
which holds some configuration related to module 'A'. Now developer need to markfield1
as deprecated with the latest release.