jolicode / automapper

:rocket: Very FAST :rocket: PHP AutoMapper with on the fly code generation
https://automapper.jolicode.com/
MIT License
154 stars 15 forks source link

Unable to install 8.2.2 #108

Closed orangevinz closed 7 months ago

orangevinz commented 7 months ago

Symfony 7 Php 8.2

Today, I attempted to test the package but encountered difficulty installing version 8.2.2.

When I executed composer require jolicode/automapper-bundle, it installed version 8.1. However, I attempted to enforce version ^8.2 and encountered the following error:

Problem 1
    - Root composer.json requires jolicode/automapper-bundle 8.2.2 (exact version match: 8.2.2 or 8.2.2.0), found jolicode/automapper-bundle[dev-feat/make-it-works-with-last-version, dev-release/v8.1.0, dev-fix/disallow-8.2, dev-main, 8.0.0, ..., 8.1.0] but it does not match the constraint.

I'm unsure how to configure the mapping in the YAML file with version 8.1.

Should I consider using the latest 9 beta instead?

orangevinz commented 7 months ago

I've just realised that the versions in the basic package and the bundle are not the same... my bad 🤔