File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,3 +210,21 @@ struct ModuleInternal {}
210210@scope.Service
211211@scope.Function
212212struct GenerateClientMethodsWithHeaders {}
213+
214+ /**
215+ * Generated Hack types are being changed to `final` by default.
216+ *
217+ * For existing thrift types that are inherited from and cannot be easily migrated,
218+ * use this annotation to make the generated class non-final.
219+ */
220+ @scope.Structured
221+ struct MigrationBlockingAllowInheritance {}
222+
223+ /**
224+ * Hack Unions without the `protected` compiler option may rely on `fb_json_serialize` for JSON serialization.
225+ * Adding this annotation will implement the JSONSerializable Hack interface allowing `fb_json_serialize` to continue being used.
226+ *
227+ * Note: This should only be used for migration purposes. Use `JSONThriftSerializer` instead.
228+ */
229+ @scope.Union
230+ struct MigrationBlockingLegacyJSONSerialization {}
You can’t perform that action at this time.
0 commit comments