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
65 changes: 65 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# AGENTS.md - import-serializer

## Zweck & Verantwortung

Data Serializer für CSV/JSON-Parsing. **Tier 1 Modul** - foundational component.

**Hauptverantwortung:**
- Data Processing und Konvertierung
- Validation Framework
- Error Handling
- Service Layer Implementation

## Architektur & Design Patterns

### Kern-Klassen
- **Repository**: Persistierungs-Layer
- **Processor**: Service Layer
- **Validator**: Validierungs-Framework
- **Observer**: Lifecycle Hooks

### Verwendete Patterns
- **Observer Pattern**: Für Hooks
- **Repository Pattern**: Datenschicht-Abstraktion
- **Service Layer**: Business Logic
- **Factory Pattern**: Object Creation

## Abhängigkeiten

- **import-***: Verschiedene andere Importer je nach Modul
- **Magento_Framework**: Core Framework

## Wichtige Entry Points

```php
// Repository::create()
Repository::create($row): void
Repository::find($id): Entity
```

## Events & Extension Points

**Observer Hooks** für Lifecycle Integration

## Database Schema

Modul-spezifische Tabellen je nach Verwendung

## Hints für KI-Agenten

### Kritisches Verständnis
1. **Daten-Oriented**: Fokus auf Data Processing
2. **Converter/Serializer**: Transformieren Datenformate
3. **Tier 1-4**: Unterschiedliche Abstraktions-Level
4. **Repository Pattern**: Standard für Persistierung

## Known Limitations

- Format-spezifisch: Abhängig von Input-Format
- Validierungs-Regeln: Streng für Datenkonsistenz

## Zusammenfassung

import-serializer: Spezialisiertes Import-Modul für Data Processing und Konvertierung.

**Für Agenten:** Data Processing mit Repository und Service Layer Patterns.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Import Serializer

## Version 2.2.0

### Features

#### PHP 8.5 Compatibility

* Update dependencies
* Remove PHP 8.2 support

## Version 2.1.0

### PHP 8.4 Compatibility
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.1"
"php": "^8.3"
},
"require-dev": {
"doctrine/dbal": "^4.0.4",
Expand All @@ -32,4 +32,4 @@
]
}
}
}
}
Loading