Closed Gummibeer closed 4 years ago
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
I would like to reopen this issue because I still have this problem.
I'd be okay with making a breaking change here to use your suggested behaviour in v2.
Do you want to work on it? Or should I provide a PR?
PR would be welcome, but I'll take care of it if you don't feel like it :)
I will work on it tomorrow.
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
My expectation by using
SlugWithOrderParser
or alsoSlugWithDateParser
was that I still could doSheets::get('home')
and it will find01.home.md
. But I have to callSheets::get('01.home')
to get the corresponding content. This means that I have to pass the order/date in the URL and if I change the order or date of a sheet I have to add redirects for to do not loose page rating and show the right content for posted links somewhere else.To don't add a BC my idea would be to add a new method to the
FilesystemRepository
- for examplegetBySlug()
which could theFactory::$pathParser
property to create a regex and list all files viafiles()
orallFiles()
.