Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [6.9.3] - 2025-10-09
### Fixed
- Add validate_types to model interface

## [6.9.2] - 2025-10-03
### Fixed
- Fix of all types taking type cast into account
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
table_sync (6.9.2)
table_sync (6.9.3)
memery
rabbit_messaging (>= 1.7.0)
rails
Expand Down
5 changes: 5 additions & 0 deletions lib/table_sync/utils/interface_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,8 @@ def filter(parameters)
:schema:
:parameters: []
:description: "returns an instance of Symbol"
:validate_types:
:parameters:
- - :req
- :data
:description: "validate types of receiving data to make more readable errors"
2 changes: 1 addition & 1 deletion lib/table_sync/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module TableSync
VERSION = "6.9.2"
VERSION = "6.9.3"
end
2 changes: 2 additions & 0 deletions spec/receiving/dsl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def primary_keys; end
def table; end

def schema; end

def validate_types(data); end
end
end
end
Expand Down