Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions schemadiff/changes/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def path(self):
return f"{self.interface.name}.{self.field_name}"


class AbstractInterfanceChange(Change):
class AbstractInterfaceChange(Change):
def __init__(self, interface, field_name, old_field, new_field):
self.interface = interface
self.field_name = field_name
Expand All @@ -54,7 +54,7 @@ def path(self):
return f"{self.interface.name}.{self.field_name}"


class InterfaceFieldTypeChanged(AbstractInterfanceChange):
class InterfaceFieldTypeChanged(AbstractInterfaceChange):

@property
def message(self):
Expand Down Expand Up @@ -104,7 +104,7 @@ def path(self):
return f"{self.type_}"


class InterfaceFieldDescriptionChanged(AbstractInterfanceChange):
class InterfaceFieldDescriptionChanged(AbstractInterfaceChange):
criticality = Criticality.safe()

@property
Expand All @@ -115,7 +115,7 @@ def message(self):
)


class InterfaceFieldDeprecationReasonChanged(AbstractInterfanceChange):
class InterfaceFieldDeprecationReasonChanged(AbstractInterfaceChange):
criticality = Criticality.breaking('Breaking change') # TODO: Improve this logic to check if it was deprecated before

@property
Expand Down